blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f96a4738ce01b2e7b650e25b2950569cfb6888d4 | 7daf72d1abe4b13d1e26dc46abddfebcfc42d9e8 | /man/elt_delim.Rd | 4996192f78606e1e1b53a1e067778259d5a6943e | [
"MIT"
] | permissive | farcego/rbl | 6c39a7f2e63564c75860aa6a7887b2b49ffb73fb | b1cfa946b978dae09bf4d4b79267c4269e067627 | refs/heads/master | 2020-03-21T15:25:49.368438 | 2017-06-15T09:22:11 | 2017-06-15T09:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 716 | rd | elt_delim.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/funs_tdr.r
\name{elt_delim}
\alias{elt_delim}
\title{Extract indices corresponding to a symbol from a "delim" table}
\usage{
elt_delim(elt, no, delim)
}
\arguments{
\item{elt}{A single character to match against delim table.}
\item{no}{dives... |
3464127aaf4cabaa0af97fadf9e5cdc0fc6955d4 | 6e2277f64cb1f8aeadb5951f770b537d630ab584 | /man/broad.Rd | f376e97bfe56fcbb8e48f1abf33a10d22177d992 | [] | no_license | npp97-field/robustmeta | 6c2dc7692cdfa50e67308bb8f7a4e613662aa7f8 | cd379e6e5ee5cea4424e4ec56e4d782682366454 | refs/heads/master | 2021-01-22T20:34:34.815661 | 2013-04-07T07:04:49 | 2013-04-07T07:04:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 401 | rd | broad.Rd | \docType{data}
\name{broad}
\alias{broad}
\title{Broad vs. narrow selectivity data for robustmeta package. Based on
in-progress work with a NESCent working group. Not to be considered
final data.}
\description{
Broad vs. narrow selectivity data for robustmeta package.
Based on in-progress work with a NESCent workin... |
932b19dbd10833485b3fdd457a4683b4ccd56224 | 68df1dcac1649f8aadc12dbd29cacf053dc0f922 | /tests/testthat/test-int64.R | 8c4dbdf01a3a5636a027e287e3a2647ec430133f | [] | no_license | cran/RClickhouse | 680315acd99741b3972bf3818d95596bd2d682f4 | a76518c14dd8d17786d9a369083f486e46660a45 | refs/heads/master | 2023-04-10T17:54:19.854520 | 2023-04-02T15:20:02 | 2023-04-02T15:20:02 | 112,093,885 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 248 | r | test-int64.R | context("int64")
library(DBI, warn.conflicts=F)
library(dplyr, warn.conflicts=F) # for data_frame
source("utils.R")
test_that("reading & writing int64", {
writeReadTest(as.data.frame(tibble(x=bit64::as.integer64(c("9007199254740993")))))
})
|
acb7b3d9d9d47c1ce55871601c038d1a7b580a09 | 7b838911abcf1d892c507c3b97c285b76525cf8f | /man/nlist.Rd | 8e0f95a3b54bd08775a5661cf4b33e2ab0f26b48 | [
"MIT"
] | permissive | Mehranmzn/LMMELSM | d6412ef299df70ae906fc75ac636f6b2b9bdc8eb | b4c05f9d3e4be0fb3585217a02821f218da61473 | refs/heads/master | 2023-03-17T23:44:43.930882 | 2021-03-18T00:14:17 | 2021-03-18T00:14:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 314 | rd | nlist.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utility.R
\name{nlist}
\alias{nlist}
\title{Creates named list.}
\usage{
nlist(...)
}
\arguments{
\item{...}{Objects for list.}
}
\value{
Named List.
}
\description{
Creates named list.
}
\author{
Stephen R. Martin
}
\keyword{internal}
|
b879cf6ad8e4bfcd750a86c63ee5d49cbd31de2a | c74a067bc641e4b9df95823a8542ec383daa44ec | /man/GenCondGroups.Rd | e9bd5f7f60f9e97786f96b0bed8a7f648ca8b4d3 | [
"MIT"
] | permissive | bolongtan/isocyanate | 2f97986ae6ac88120a10f0e5df3c29574f5121fe | cb64962ecd7731ff838fd7919bea5342c33371ff | refs/heads/master | 2020-04-04T08:58:25.873750 | 2018-11-18T03:54:56 | 2018-11-18T03:54:56 | 155,779,514 | 0 | 0 | MIT | 2018-11-02T02:07:55 | 2018-11-01T21:43:25 | R | UTF-8 | R | false | true | 483 | rd | GenCondGroups.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/shoot.R
\name{GenCondGroups}
\alias{GenCondGroups}
\title{Generate conditional groups based on bool signals and a variable/return xts}
\usage{
GenCondGroups(ret, bools)
}
\arguments{
\item{ret}{xts variable/return}
\item{bools}{a 2d xts bool... |
225c9f7917a444be35107c5d0cee249266704073 | 5d222882c2eef9ad8692aa317091d9262ccd044f | /man/registerFunctions.Rd | 627e25d18fc9481873bb5cdb5d141f32d1d1e6d1 | [] | no_license | dpastoor/Kmisc | 33a00a3180a3b671e788c4c6728d4308e8bd51d2 | 108afcc99f23a67f6794a20d8748984792827c65 | refs/heads/master | 2021-01-16T23:04:49.286460 | 2014-04-25T17:00:06 | 2014-04-25T17:00:06 | 19,631,189 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,464 | rd | registerFunctions.Rd | % Generated by roxygen2 (4.0.0): do not edit by hand
\name{registerFunctions}
\alias{registerFunctions}
\title{Automatically Register C/C++ Functions in a Package}
\usage{
registerFunctions(prefix = "C_")
}
\arguments{
\item{prefix}{A prefix to append to the exported name, so that a function
called \code{myfun} is regi... |
503042e3291e9093ac5f1a3ae1aae292b25e9ec8 | d98b7d973db4770b573ffcf2e61a37ffa74ecb21 | /springleaf/ensembling.R | 649523298f1fde51ca304d8c5c1bf2e113786e79 | [] | no_license | brandenkmurray/kaggle | a27a85f172c5ecd58d9fc58219b3e31400be597e | 30924c37e15772b6e7125b341931d7c775b07d0b | refs/heads/master | 2021-01-10T14:18:07.768888 | 2017-08-29T00:20:48 | 2017-08-29T00:20:48 | 44,857,026 | 30 | 17 | null | null | null | null | UTF-8 | R | false | false | 3,902 | r | ensembling.R | library(caretEnsemble)
library(xgboost)
library(pROC)
library(RPushbullet)
setwd("/home/branden/Documents/kaggle/springleaf")
# load("xgb13.rda")
varnames <- names(train[,grepl("VAR", names(train))])
# xgb13Imp <- xgb.importance(feature_names = NULL, model= xgb13)
# write.csv(xgb13Imp, "xgb13Imp.csv")
## TESTING CAR... |
7657de20777371480de8aa4e6d916e6830e9e2b1 | 2d95274803db62a4c1567b3b221bf7f7dfaac4f9 | /spatial-galls-testing-pois.bug.R | f1bcef63fe378de7c47e33897d7fb1e51733903c | [] | no_license | wcwetzel/gall-spatial-bayes | a829205832fa0ea037603ab7d8b560010be6075e | 6cd570850b60bdf2221453f4fa28f3f46cd83938 | refs/heads/master | 2021-03-12T23:45:36.987725 | 2011-11-22T23:41:19 | 2011-11-22T23:41:19 | 2,831,908 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 520 | r | spatial-galls-testing-pois.bug.R | # spatial-galls.bug.R
# JAGS testing
# 4 Nov 2011
### this is to fit data from
### gall-spatial-sim.R
### see if I can recover simulated parms
model {
for(i in 1:N) {
galls[i] ~ dpois(lambda)
lambda[i] <- exp(lambdaNE[i])
lambdaNE[i] ~ dmnorm( logmu[i], precV)
}
V <- pow(sigma, 2) * exp(1)^distcorr
... |
d92bda6ceae81375deb5362d2f4fc2b13c93110a | e36e8d5859f764ffa3e6f18d2b5dcd6bbd4e80f0 | /man/get_storms.Rd | 3d3d3f8045b8bcdc81061c1ce4221b1f251e33ad | [
"MIT"
] | permissive | ropensci/rrricanes | 23855df40a5cc598b94ec90ac9e32c70b291e2a8 | 533454c8e4d3b7dff6dc2a6592a7b304fef41fdb | refs/heads/main | 2023-01-07T17:56:01.118103 | 2022-12-31T18:29:58 | 2022-12-31T18:29:58 | 74,975,357 | 19 | 9 | NOASSERTION | 2022-12-31T18:29:59 | 2016-11-28T13:25:12 | R | UTF-8 | R | false | true | 1,173 | rd | get_storms.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_storms.R
\name{get_storms}
\alias{get_storms}
\title{get_storms}
\format{
A 4xN dataframe
\describe{
\item{Year}{Numeric, four-digit year of the storm}
\item{Name}{Character, name of storm mixed-case}
\item{Basin}{AL (Atlantic) or E... |
62ad21d7ff3127958910daa0c576230ff4679f66 | 09fafdf633ad778282a95ea62f7248183a63e0cd | /R/lightbox.R | 3a3e0eff0c2751f3ead81540688e443df8482230 | [] | no_license | mrjoh3/gallerier | 10a9e79c31fb616ba7898ebd416ade70a9391de4 | 9ab546e4c5903fabfd1aa5442200541f1a93cc47 | refs/heads/master | 2021-08-20T04:55:37.592130 | 2021-07-27T12:50:44 | 2021-07-27T12:50:44 | 213,344,268 | 15 | 1 | null | 2021-07-27T12:50:45 | 2019-10-07T09:33:04 | HTML | UTF-8 | R | false | false | 2,818 | r | lightbox.R |
#' @title Create Lightbox Gallery
#' @param df data.frame containing
#' @param gallery character label identifying gallery
#' @param css character file path to css file. If missing default style is used
#' @param path character folder path, sometimes some frameworks like shiny and
#' blogdown can look for files in a... |
d1b39f405cdad3fdc7988a5c37dbbba93dd76a0f | fb58b29abc66afc108137917a6d79311ada6002d | /WaterQualityCalc.R | 005db375759f9b35dd5dc12577b94c09b706fb9d | [] | no_license | TeganWhitehead/ReportCard | 43d2a2635213369a2e0c411a415e5ece86a39667 | 0ebbfb4d5d4d086afe43f5a3c74e1057c6fe2d19 | refs/heads/master | 2020-07-23T05:34:31.568435 | 2019-09-25T04:58:18 | 2019-09-25T04:58:18 | 207,459,271 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,496 | r | WaterQualityCalc.R | # ------------------------
# Directory where all the data files are relative to this script.
data.path <- "data"
WQFreshEstuaryData.file <- file.path(data.path,"WaterQualityFreshEstuaryData201819.csv")
WQGuidelines.file <- file.path(data.path,"WaterQualityGuidelines.csv")
# Location of where all the files generated by... |
1e7d596bcfe501d9350828d19db47b6b8b34241b | 73f2e47fa4927b2b8ba2f7de15c6b094882e1d73 | /419 r.R | abeffe8de62bdcc31f8f8e60aebb84ae5a4ef77b | [] | no_license | UW-Biol419-Wi2016/HIV | 3c103dd954f54352d1501cd0d571510af351226b | c532f20ccf28621e57d86deed7057f1d62648136 | refs/heads/master | 2021-01-10T15:23:40.067169 | 2016-03-15T05:51:35 | 2016-03-15T05:51:35 | 52,486,535 | 0 | 0 | null | 2016-03-11T18:22:03 | 2016-02-25T01:12:58 | Matlab | UTF-8 | R | false | false | 2,569 | r | 419 r.R | # install.packages(seqinr)
library(seqinr)
traindata = read.csv(file="training_data.csv",header=TRUE,sep=",")
# traindata and testdata are "data frames" that contain variables of different types (numeric, character, etc)
# dim(traindata) = 1000 by 6
prseq = traindata[,3]
# length(prseq) = 920
rtseq = traindata[,4]
# ... |
a6c7b46d1790181223ed3f76e1e32eef595e901d | aa09d9e2b3e8aaab0f9597d4623b76bd117d624a | /ui.R | 264d247ef21e2b77e48dc497eebecd5627a941bd | [] | no_license | karencode/DistributionApp | 8fcd9910f924e6d50aeb48c1b709b15a3015fe7b | 616a6f69a3bee556111e3270d790f7eab78920cd | refs/heads/master | 2021-01-10T08:46:25.810258 | 2016-02-26T22:32:44 | 2016-02-26T22:32:44 | 52,631,622 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,646 | r | ui.R | library(shiny)
# Define UI for application that draws a histogram
shinyUI(fluidPage(
# Application title
titlePanel("P-value Calculator"),
# Sidebar with a slider input for the number of bins
sidebarLayout(
sidebarPanel(
helpText(strong("Obtain a p-value for a test statistic that follows a st... |
eae4e3f15b3fdf509a77a485a459784c74c6e5ab | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/crmPack/examples/update-LogisticIndepBeta-method.Rd.R | 0ccfe1e4faa1eb51ada1d5dadf45f34f77517f6f | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 899 | r | update-LogisticIndepBeta-method.Rd.R | library(crmPack)
### Name: update,LogisticIndepBeta-method
### Title: Update method for the 'LogisticIndepBeta'Model class. This is a
### method to update the modal estimates of the model parameters phi_1
### (phi1) and phi_2 (phi2) when new data or new observations of
### responses are available and added in.
... |
426f7a908e37360ac4cc7ed465010b4e4047902f | e08df0e8deae3c5b97c82474eaeae832a37799a4 | /R/internals.R | 0a567b3fb7e4a5cb965747ae0a80e6f1c4eff80e | [] | no_license | cran/ICS | 9f34f777e03d19eae27868b613741d87cc73da25 | e9ec644c83008f2789e91fee78bc3d9a983ed614 | refs/heads/master | 2023-08-21T05:05:22.272245 | 2023-05-30T09:40:06 | 2023-05-30T09:40:06 | 17,679,939 | 0 | 2 | null | 2023-08-09T13:44:13 | 2014-03-12T19:10:49 | R | UTF-8 | R | false | false | 1,046 | r | internals.R | ### Internal functions for cov4 and ics
### covariance matrix based on 4th moments wrt to the mean vector
### subroutine of cov4
###
.cov4moments.mean<-function(X)
{
p<-dim(X)[2]
n<-dim(X)[1]
data.centered<-sweep(X,2,colMeans(X),"-")
Sigma.data.sqrt<-mat.sqrt(cov(X))
radius<-sqrt(... |
ff961e2726150c93da67a77d921f9fd307fd2341 | 22dcf4092a0e038d5cb02b70532fa98d614d736b | /abcd_ed_gi_lmes.R | ad141ca46ca4bd1a3a547fa7ed5eb3e903e546a7 | [] | no_license | klkerr/abcd_ed_gi | d46fea41dcd2a43446a404dd13bd9b672ad779e3 | 734da423ac01fe62b80d2c5fda1e58d06ceba8d9 | refs/heads/master | 2023-02-17T12:32:17.370297 | 2021-01-14T16:36:09 | 2021-01-14T16:36:09 | 288,810,686 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,982 | r | abcd_ed_gi_lmes.R | #!/usr/bin/Rscript
library(psych)
library(lmerTest)
library(lme4)
library(dplyr)
library(MuMIn)
library(r2glmm)
library(effectsize)
print("Loading Rds files...")
abcd.ed.gi=readRDS("abcd_ed_gi.Rds")
abcd.ed.gi.m_crpbi=readRDS("abcd_ed_gi_mcrpbi.Rds")
abcd.ed.gi.f_crpbi=readRDS("abcd_ed_gi_fcrpbi.Rds")
sink("abcd_ed... |
b30972f81d83f4a92fba63cfe643092d00649527 | 7a9774bf1ba2ebc7b4783126f6c197d76913a35b | /LandWeb_output.R | 51de6bb817a135483575f20c3d672cd9085bc31d | [] | no_license | fRI-Research/LandWeb_output | 9f3502eb1f05485988b0539da23226e6504555b2 | f0fcf516a2c17a2f0553fde5db7d9c85da4adf45 | refs/heads/master | 2022-11-11T00:19:56.378832 | 2022-11-08T15:39:36 | 2022-11-08T15:39:36 | 146,651,853 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 15,025 | r | LandWeb_output.R | defineModule(sim, list(
name = "LandWeb_output",
description = "Summarize the output for the LandWeb natural range of variation (NRV).",
keywords = c("LandWeb", "NRV"),
authors = c(
person(c("Eliot", "J", "B"), "McIntire", email = "eliot.mcintire@nrcan-rncan.gc.ca", role = c("aut", "cre")),
person("Yong... |
2643a823f7557757fdf684537c2711f930523812 | 37c8e06d742a785331d666e7394a7e52786830c2 | /Vac_Scholarship_R/Constrained_Tree_MAx.R | 9f8bfa11db938e9321f23c2797e6840d1776af41 | [] | no_license | gb13faithless/root_node | 353f2a0621d40a4272fc14f2225a33e0535d9a4d | 69b465ce2fa1ab63c2cd2a8f4b38cf378963eaa1 | refs/heads/master | 2021-05-09T06:38:47.769853 | 2018-02-09T14:09:14 | 2018-02-09T14:09:14 | 119,321,916 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,627 | r | Constrained_Tree_MAx.R |
library(tree)
library(ape)
library(phangorn)
library(seqinr)
library("phangorn")
library("ape")
library("Biostrings")
library("ggplot2")
library("ggtree")
library("devtools")
library("strataG")
library("phylobase")
# read in the fasta sequences
S <- read.phyDat("test.fa",format="fasta", type="DNA")
#read in the fsc t... |
17f7988e02c2eea14986179f98c9a6a10a4276bf | b0f44e41d4a8d9031373e23dc0a35e9a20279426 | /preprocess.R | 38fa5268f79799f1b0a447c746219bf4a6a6e23e | [] | no_license | LeoCai/MultiDeviceAlign-R | c6aa5043816668d330976e396d30fd39caa6c46b | 89390a16e38a65bc8608f9415a115195a8ff2d9f | refs/heads/master | 2021-01-17T14:41:22.434860 | 2017-02-20T08:10:27 | 2017-02-20T08:10:27 | 54,257,332 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 51 | r | preprocess.R | source("../handshake_9_11/model/GloableConvert.R")
|
274bed494006732620405c6330b126196b6e94d9 | f3b646597b88853f9ef547b62083925b42fee58f | /R/data.R | 6523882f38af5634afe3d74e2ff475a0d86954b9 | [] | no_license | ameliabedelia/amelia | d5426d8382fe62d72bbe0e5779d6203e2e9a1d9e | de165e50372b442a94c60e7c1c5d9fca537b55bc | refs/heads/master | 2023-07-05T20:47:00.953930 | 2023-06-28T12:12:24 | 2023-06-28T12:12:24 | 208,226,968 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 873 | r | data.R | #' Geospatial data of Landkreise in Germany
#'
#' A tidy dataframe containing the latitude and longitudes of Landkreise
#' in Germany for use with ggplot2::geom_polygon.
#'
#' \describe{
#' \item{long}{longitude}
#' \item{lat}{latitutde}
#' \item{rs}{Landkreise code}
#' \item{gen}{Landkreis name}
#' ... |
f66a43105c5a807c7d4551ade7861064a8d2ac1d | 725a33f27fce430ee481a3542aae5bb81a94dfc0 | /R/FilenameMapper.R | 38f88ce24ecb5f80b319ab51d3024d616b1766b8 | [
"BSD-3-Clause"
] | permissive | cbielow/PTXQC | fac47ecfa381737fa0cc36d5ffe7c772400fb24e | f4dc4627e199088c83fdc91a1f4c5d91f381da6c | refs/heads/master | 2023-07-20T00:39:45.918617 | 2023-05-17T14:23:03 | 2023-05-17T14:23:03 | 20,481,452 | 41 | 30 | NOASSERTION | 2023-05-17T14:23:04 | 2014-06-04T11:53:49 | HTML | UTF-8 | R | false | false | 14,558 | r | FilenameMapper.R | #'
#' Make sure to call $readMappingFile(some_file) if you want to support a user-defined file mapping.
#' Otherwise, calls to $getShortNames() will create/augment the mapping for filenames.
#'
#'
#'
#' @field raw_file_mapping Data.frame with columns 'from', 'to' and maybe 'best.effort' (if shorting was unsuccessful... |
9e95ad7fd1fc72a6cddc98094a7c0bc22ffd3632 | 446373433355171cdb65266ac3b24d03e884bb5d | /man/saga_soiltextureclassification.Rd | a1c31094047e4ff87c14050b7e52ee78c088df30 | [
"MIT"
] | permissive | VB6Hobbyst7/r_package_qgis | 233a49cbdb590ebc5b38d197cd38441888c8a6f3 | 8a5130ad98c4405085a09913b535a94b4a2a4fc3 | refs/heads/master | 2023-06-27T11:52:21.538634 | 2021-08-01T01:05:01 | 2021-08-01T01:05:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,445 | rd | saga_soiltextureclassification.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/saga_soiltextureclassification.R
\name{saga_soiltextureclassification}
\alias{saga_soiltextureclassification}
\title{QGIS algorithm Soil texture classification}
\usage{
saga_soiltextureclassification(
SAND = qgisprocess::qgis_default_value(... |
f7f235094252e9c49bcd08ab1358ec826aad6030 | 03a1d1efb4fb7323088201474bf6500159c0bb4b | /dist2coast.R | 97ac088f686909d26356dfd7eac45f90d8c5dd4a | [] | no_license | markolipka/dist2coast | 8a5f181640c1d7b8ebecb813dbdff06ff395d7af | 71cd14bf2cde6d3158cdf04b8ba06936eccb0567 | refs/heads/main | 2023-02-07T20:30:14.348219 | 2020-12-28T01:33:07 | 2020-12-28T01:33:07 | 324,579,004 | 0 | 0 | null | 2020-12-26T15:08:47 | 2020-12-26T15:08:46 | null | UTF-8 | R | false | false | 3,529 | r | dist2coast.R | ## calculate distance between geo points and coastline
## distance is in m
## transforming to UTM32 and also cropping does not seem to have a measurable performance benefit with moderate numbers of points (100) and spatial extend (North Sea scale)
## the output = "distmat" option might be quite useless if the linestrin... |
53cb30e931be42e9b4c5ff7c920b394264b2d76f | 10142a4fd35068f2675373580ecd8ed7aaa8f7d0 | /PreguntaPersonal.R | b134f025d7ca6042eefe26ce0c7df08f252fa8fd | [] | no_license | caroljanethjp/Suicide-Rates | 96002a83d79c09233c28be67f444a983e9f5494e | 32bdb9a962b23fc9e75fb6c5acddb030a51c606a | refs/heads/master | 2020-05-03T09:03:40.810358 | 2019-04-02T14:40:00 | 2019-04-02T14:40:00 | 178,543,765 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,709 | r | PreguntaPersonal.R | #
# Este script se construyó a partir del dataset obtenido en la Limpieza de datos
# y permitirá encontrar un foco : de los 10 países a nivel mundial
# con mayor tendencia creciente de suicidios en los ultimos años(2010-2015).
# Y a partir de esto, se mostrará en que grupo de edades y género se concentra más este fen... |
2c250b652bfa3ec9e51a4cccb8a01f43c7e22db8 | 17b84acca3b2e3d1de130f0803d4d7f6a8cecc3e | /server.R | 621ad6e2ade6142b28db3fc3a2ff0553e8a3c98c | [] | no_license | brunamdalmoro/shiny-imoveis-poa | 982dce34496f603cb173dba06440d954cb332f3e | 1d26b94e894f2a1603ee5fe5effd62fba5d63692 | refs/heads/master | 2021-01-23T00:14:37.754606 | 2017-03-22T18:24:20 | 2017-03-22T18:24:20 | 85,706,232 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,307 | r | server.R | library(shiny)
library(leaflet)
library(randomForest)
source("helper.R")
server <- function(input, output){
v <- reactiveValues(doPlot = FALSE) #recebe FALSE
observeEvent(input$atualizar, {
v$doPlot <- input$atualizar
}) #quando clicado, recebe TRUE
output$mapa <- renderLeaflet({
... |
be3b94c48e4edc3e88f6d016dfb9624bacc26fa6 | 0ed00ba01bc3c5256df40233b3de58dc433a5fc0 | /Data Management.R | 93a769107f692598004a4bd412f8b6ae8e76a109 | [] | no_license | zaq0718/PISA-2015-Well-being | 9214923f8ccd3dec1a342a2deff1d03632f40c26 | 12ce7360cad7c183a9cd3e2f7af661f441522889 | refs/heads/master | 2021-05-19T08:00:50.716024 | 2021-04-01T08:42:36 | 2021-04-01T08:42:36 | 251,596,304 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,390 | r | Data Management.R | library(dplyr)
library(foreign)
library(sjmisc)
library(srvyr)
library(ggplot2)
# 1. Load Data ------------------------------------------------------------
setwd("~\\PISA 2015\\Correlations_PISA 2015_Well-being\\Well-being")
Survey <- c("Option_ICTQ","Option_PQ","ADMINMODE")
Demo <- c("ST004D01T","IMMIG","ESCS")
Stud... |
cc7a1f1e31102b457756a23cc91115a07ea9ffd4 | 161fc5151a7d816086b9c68e1cb5d591053253c0 | /statistical_analysis_of_datasets.R | 4e617f4a22f7264f984a7c1750536caec595edf4 | [] | no_license | RichardCurran/Temp-rainfall-Ireland | e58309207a7070ad7a6577bf617222a0ac8b8ab8 | 115c4edf18c079b160361663b8d99226d6599032 | refs/heads/master | 2021-02-09T05:27:51.992630 | 2020-03-02T00:33:01 | 2020-03-02T00:33:01 | 244,246,557 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 13,120 | r | statistical_analysis_of_datasets.R | library(ggpubr)
library(pwr)
library(dplyr)
library(tibble)
#install.packages("finalfit")
library(finalfit)
#install.packages("naniar")
library(naniar)
#importing data
rainfall <- read.csv('rainfall.csv',
header = TRUE,
sep = ",",
strip.whit... |
534f5e964712e688e77fa8dc1c67a8fc86b1f628 | 806a2b55bdbadb4e377eb3a4ec610df73e4ec413 | /Airbnb_NYC_dash/global.R | f6bda07087c5ec992eae78300b71e10419fab3c7 | [] | no_license | staneaurelius/Airbnb-Shiny-Dashboard | e9686944e20f8382f751ad7d727a8849712a9b9d | f45b029c0c5be8387b193c57beb5ffbf2bc67dc5 | refs/heads/main | 2023-07-01T14:36:40.078778 | 2021-08-03T13:11:41 | 2021-08-03T13:11:41 | 391,693,926 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 700 | r | global.R | library(shiny)
library(shinythemes)
library(shinydashboard)
library(shinyWidgets)
library(leaflet)
library(tidyverse)
library(glue)
library(scales)
library(DT)
library(plotly)
# Data
ab_nyc <- read.csv("AB_NYC_2019.csv")
ab_nyc <- ab_nyc %>%
select(-c(id, host_id, last_review, reviews_per_month)) %>... |
5c434746855d98aa680a431da2d559e135331052 | 87d3e0f0468d71a362025ca235164608e84d08d7 | /sound-transit/soundtransit-cities.R | 2fb994017b164aea6234989fc229648efe7f59e7 | [] | no_license | psrc/ofm | eaeb2fe0adc0adedc103966dfff6aa5c82bdbc9e | a439f11f248f4dc907aee33a2f46c0f5674accbd | refs/heads/master | 2021-06-17T12:59:08.124433 | 2021-03-12T18:26:31 | 2021-03-12T18:26:31 | 170,179,031 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,886 | r | soundtransit-cities.R | # Top 10 cities with largest absolute & % growth
curr.dir <- getwd()
this.dir <- dirname(rstudioapi::getSourceEditorContext()$path)
setwd(this.dir)
source("soundtransit-settings.R")
juris.col <- paste0("Juris", max(years))
cols <- c("COUNTYFP10", juris.col)
juris.part.cols <- c("Auburn", "Bothell", "Enumclaw", "Milto... |
9719b0947a841dbb30e87f23a2abaa4992cc8e36 | 919b62802e62e5647c898870e702f20f9a02271c | /plot2.R | 86e412e906570571ee14d0b00ded664f0b31ce08 | [] | no_license | przemo/ExData_Plotting1 | 3e7074548bf5274cf2fd5d091752712edce82246 | 226a6a663e67c9e5fa422aa401d6d7c3f3109fed | refs/heads/master | 2021-01-17T09:08:53.233999 | 2014-11-09T21:29:38 | 2014-11-09T21:29:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 215 | r | plot2.R | ## data frame is in the object 'dt'
png(filename = "plot2.png", width = 480, height = 480)
plot( dt$DateTime, dt$Global_active_power, main="", ylab="Global Active Power (kilowatts)", xlab="", type="l")
dev.off()
|
768d129d7b2df8c694e28a78d1bbd7f0810c3c70 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rcosmo/examples/plot.variogram.Rd.R | 1ee4a106cdd8b202451102acb2bd9edd751f6195 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 396 | r | plot.variogram.Rd.R | library(rcosmo)
### Name: plot.variogram
### Title: Plot sample variogram
### Aliases: plot.variogram
### ** Examples
## Download the map first
# downloadCMBMap(foreground = "smica", nside = 1024)
# df <- CMBDataFrame("CMB_map_smica1024.fits")
# cmbdf <- sampleCMB(df, sample.size = 100000)
# varcmb <- variogramCMB... |
157cc7735bfccce65969c41019e79d1117a5f3fa | 6e417befc45a906d5d918ff1bd59a6de25a406fb | /2017数据科学训练营作业第三题陈轶伦数理统计.R | f512f3a093a372511dec90f06a64bc7983116206 | [] | no_license | Magellen/movie-analyse | 51346953b784f8ae6bec54cdc276dbbc26428a26 | 16a2747831e86d58ad5975e16c2912475dd97366 | refs/heads/master | 2021-01-01T20:02:54.948449 | 2017-07-29T18:18:27 | 2017-07-29T18:18:27 | 98,751,129 | 0 | 1 | null | null | null | null | GB18030 | R | false | false | 4,304 | r | 2017数据科学训练营作业第三题陈轶伦数理统计.R | rm(list=ls())
setwd("D:/大四下/夏令营/作业题目/三.电影评论分析")
library(tidyverse)
library(stringr)
library(ggplot2)
library(jiebaR)
library(text2vec)
library(glmnet)
data<-read.csv("douban.csv")
data[,2]<-data[,2]%>%as.character()
for (i in 1:length(data[,2]))
{
data[i,2]<-str_sub(data[i,2],2,5)
}
data[,2]%>%is.na()%>... |
91648dd32403f941a2e5e08a518c694ea1046177 | 5395cdc191ff5a30d1c59e68ca0f95a288892c8b | /R/Oyster_Volumes.R | 243e9ca2a3d50e1f02c98248d44ea6a7eb0c2fcf | [] | no_license | nielsjdewinter/ShellTrace | fe16bb69b8981211bd24ef120627fc38d283db66 | 34dd076d72bb0812f251c986b1aad04b6849261b | refs/heads/master | 2021-07-23T13:37:20.750368 | 2017-11-02T08:57:26 | 2017-11-02T08:57:26 | 105,881,428 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,835 | r | Oyster_Volumes.R | #' @export
Oyster_Volumes <-
function(subincr_matrix, Z_mat, IncG, Xstep=0.1){
IncGAnet<-data.frame(matrix(0,ncol=length(IncG[1,]),nrow=length(IncG[,1])))
colnames(IncGAnet)<-colnames(IncG)
rownames(IncGAnet)<-rownames(IncG)
VolC<-vector()
As2<-vector()
Y1s2<-vector()
Ytops2<-vector()
Y0... |
78dbdeee19dcbda38bbb6e9d895e2dc162a0d2cf | 22bf6ffb3cf1f5ab81dab271b686a1cdf9c3c996 | /R/asymptoticComplexityClass.R | 7f8601c81d0d73c7445cbadebff4b19971fbd5e6 | [
"MIT"
] | permissive | Anirban166/testComplexity | 0eea40ffd81760b7d645090e403dc6c2992ea268 | 97fc7ea93e7a14eb047b4cd6c9f7c7858f90b511 | refs/heads/master | 2023-04-28T19:31:15.124945 | 2022-05-07T08:40:27 | 2023-04-18T08:40:27 | 228,646,265 | 44 | 1 | NOASSERTION | 2020-08-23T17:20:59 | 2019-12-17T15:30:22 | R | UTF-8 | R | false | false | 1,901 | r | asymptoticComplexityClass.R | #' Function to classify the complexity trend between two selected parameters from the data frame provided as input here
#'
#' @title Asymptotic Complexity Classification function
#'
#' @param df A data frame composing for two columns at the least, where one should be the contain the output-parameter sizes and one shoul... |
9aed5e45fd7c812106234a2dcb7b3262f949de57 | ebee9629abd81143610a6352288ceb2296d111ac | /tests/53-nn-density.R | 03137efef81872e37b46220027c81fa67bdb2b8e | [] | no_license | antiphon/Kdirectional | 76de70805b4537a5aff0636486eb387cb64069b0 | 98ab63c3491f1497d6fae8b7b096ddd58afc4b29 | refs/heads/master | 2023-02-26T02:19:41.235132 | 2023-02-12T13:07:11 | 2023-02-12T13:07:11 | 37,183,574 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 619 | r | 53-nn-density.R | # test nn angle density, IPSS p253
library(devtools)
load_all(".")
if(!exists("x")) x <- matrix(runif(200), nc=2)
par(mfrow=c(1,3))
# 0-2pi
f <- nnangle.density(x, antipodal = F)
plot(f, type ="l", ylim=yl<-c(0,.6))
abline(h=1/(2*pi))
# wrapping working?
plot(f, type ="l", xlim=c(-pi,3*pi), ylim=yl)
lines(f$ang... |
3f13cb5c8cb232f5050a4d219de0a7aa5e3b2f3e | 3eb3c7f82edbe3e5dc027443113f93d47fabd3d1 | /man/make_table.Rd | 5afcb83af4cf914325a42cf0d830746cbf865720 | [
"MIT"
] | permissive | dpc-nickwilliams/djprlabourdash | 3a6a95a2a3307400168a3a394238aa36d81b7c1b | 8be8cba6a550b5fbba469542d194aea5bad87b2d | refs/heads/main | 2023-07-16T02:13:43.236199 | 2021-08-31T05:49:10 | 2021-08-31T05:49:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,765 | rd | make_table.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/make_table.R
\name{make_table}
\alias{make_table}
\title{Create a table for the dashboard or a briefing document}
\usage{
make_table(
data,
destination = Sys.getenv("R_DJPRLABOURDASH_TABLEDEST", unset = "dashboard"),
years_in_sparklines... |
459a156e38030e2e768fcfe42f4043c3133608c4 | af4645ff58fe1a3d4505ba26a999eb33910595b3 | /R/apiUtils.r | 7f97f298df6f26abde399617c51a25499bc1e8fb | [
"MIT"
] | permissive | rwalrond/razdatalake | 0d373200eb5b2e471cdd07189746f4d14acc1aa8 | e6e4933773c7d4be70fd8e8856bcae80f9384f3b | refs/heads/master | 2020-03-13T00:12:12.731779 | 2018-04-30T04:21:53 | 2018-04-30T04:21:53 | 130,882,128 | 0 | 0 | null | 2018-04-24T16:16:52 | 2018-04-24T16:16:51 | null | UTF-8 | R | false | false | 3,988 | r | apiUtils.r | #' getToken
#'
#' @export
#'
#' @param tenantID String the tenant Id.
#' @param clientID String the client Id.
#' @param apiKet String the API secret.
#'
#' @return String the access token
getToken <- function(tenantID, clientID, apiKey) {
body <- list(
grant_type="client_credentials",
resource="https://manag... |
33c43a0f31a5374267254766dbfc95934b15c3b0 | 36df8d41ca3fd4e6b6d3fbf2e07049dd7781dea8 | /mutationProfiles.R | a9c873c45325c5d7f9d2fbf1bc48a044acbcf871 | [] | no_license | nriddiford/mutationProfiles | 58ec365582bb7a1e1c16f0b2abc6891f2627de2d | 4222426e0de2a18df86745ffdb9ad79d47fca53a | refs/heads/master | 2021-11-07T21:06:49.786958 | 2021-11-04T10:49:40 | 2021-11-04T10:49:40 | 98,303,005 | 4 | 3 | null | 2019-10-09T10:12:29 | 2017-07-25T12:20:07 | R | UTF-8 | R | false | false | 75,406 | r | mutationProfiles.R | list.of.packages <- c('ggplot2', 'dplyr', 'plyr', 'RColorBrewer',
'BSgenome.Dmelanogaster.UCSC.dm6', 'deconstructSigs',
'reshape', 'data.table', 'ggpubr', 'plotly', 'grid', 'VennDiagram')
new.packages <- list.of.packages[!(list.of.packages %in% installed.packages()[,"Package"... |
be4608272aa21a146abb600499e3f562e19d9b4e | 3315ba96bf388f9a22dc2249daf50c5234b0ada0 | /man/model_test.Rd | bc1bff0d53fe2f30eb377ad99d514af7f776ad79 | [
"MIT"
] | permissive | cunybpl/bRema | ec78adcd99677fd3e7ecc52dd224af07867014fb | 4d189940c7b8ca4bff4b0f92e38000433d1ddf40 | refs/heads/master | 2021-06-21T15:29:22.907408 | 2019-08-22T19:39:49 | 2019-08-22T19:39:49 | 140,751,149 | 1 | 0 | MIT | 2019-06-06T17:31:47 | 2018-07-12T18:34:24 | R | UTF-8 | R | false | true | 1,242 | rd | model_test.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/modeller.R
\name{model_test}
\alias{model_test}
\title{Tests if a model passes tTest, population test, and shape test}
\usage{
model_test(x, y, bestvalue, model, n = 4)
}
\arguments{
\item{x}{A vector. Independent variables.}
\item{y}{A vect... |
13adee5f9bfb595583f20b387a00af454bf23a3d | e9e5a348573f0099d8a6c03ab90ca93d7e6df9ca | /bLogistic.R | 47a319974a7cc19c63c5ee08fa153987b78a9add | [] | no_license | nxskok/stad29-notes | a39f73502e18f92b12024a910a3e4f83b3929c15 | a8a887e621b84fdadb974bf50c384ba65d2a8383 | refs/heads/master | 2021-06-08T11:21:53.709889 | 2021-04-26T23:02:15 | 2021-04-26T23:02:15 | 161,848,845 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 11,847 | r | bLogistic.R | ### R code from vignette source '/home/ken/teaching/d29/notes/bLogistic.Rnw'
###################################################
### code chunk number 1: bLogistic.Rnw:41-45
###################################################
rats=read.table("rat.txt",header=T)
rats
attach(rats)
rats.1=glm(status~dose,family="binomial... |
9198a5bb7067dde5bf049ce5505289c44a473c3f | b72f90ef0cde82cf132c45525cc7eab7877f23cb | /R/layer.R | 8bea5c5a5bc396547b4330e9b47826385fd843bc | [] | no_license | zhaoleibupt/REcharts3 | 4ce8eb3b3372d328081d8ecfa39c0572f1f100a1 | 84c058cb1a8ba3acddc2457f8caf74a5e8c33f0a | refs/heads/master | 2021-01-20T08:08:28.489367 | 2016-07-15T03:35:58 | 2016-07-15T03:35:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,103 | r | layer.R | # type = 'heatmap'
# ncol = NULL; nrow = NULL; facets.fontSize = 14; facets.top = 6;
# label = NULL; label.show = F; label.position = 'inside';
# opacity = 0.7; symbolSize = 'formatFunction_symbolSize'
# tooltip.show = T;
# type = 'bar'; stack = F; color = .plotColor;
# title = NULL; title.fontSize = 18; title.top = ... |
2951d2ad4c011dc4d8bea0c5f7b1cdfa969237b1 | 8fd26f923edc0ccb31fcd0dc109c23a059ec0886 | /R/sensitivitypuc.R | 66107a27a4d46e424a1789158dba83f2df646c40 | [] | no_license | matteobonvini/sensitivitypuc | 37b290662ed8e9edb6c9b120c900f53af7e5a6ad | edfd5452a6bf8fef650cc1a8ddc9f7167f2c28b3 | refs/heads/master | 2021-06-26T20:47:00.438209 | 2020-12-03T10:27:45 | 2020-12-03T10:27:45 | 182,876,912 | 5 | 3 | null | 2019-12-06T12:44:29 | 2019-04-22T22:22:44 | R | UTF-8 | R | false | false | 164 | r | sensitivitypuc.R | #' echseffects: A package to perform sensitivity analysis via the proportion of
#' unmeasured confounding.
#'
#' @docType package
#'
#' @name sensAteBounds
NULL |
157e43ff8e709e584b2dcfe8fc225899f6013c92 | 0c668165f5b60c1545cff3636cc9dfe7a020bc0f | /bma.R | 2044c23118062d4d282dfd764c850df2c7377804 | [
"MIT"
] | permissive | wethepeopleonline/r-scripts | 4253433c349caee7b2c7d6acc8365a68000375c7 | dc20093c43f40f2babddfab9f272ef87053ad761 | refs/heads/master | 2020-05-07T17:14:36.470032 | 2017-09-25T11:43:53 | 2017-09-25T11:43:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,329 | r | bma.R | #
#
############### Bayesian Model Averaging examples ###############
#
# This script assumes you have worked through all the previous notes from
# the web page and you have downloaded, installed, and updated all available
# R packages.
### Upload the SAS SEM Example data ("SEMData.sav") which is SIMULATION DATA.
l... |
65b3f4f7c557ff40ad09d610aaac231048a862c1 | a71b66c5093942f7c7bae59dac35dc13ab33b0c5 | /utility_functions.R | 3fce5d6b3dd097701c739484d72a4e40b5d5850a | [] | no_license | bertcarnell/bracketr | 2d2dc312c3961c87fa3d742326f3c18a84369392 | 41fde1010618414a69fe0b730f6c009eaa535a6c | refs/heads/main | 2023-04-27T05:50:43.776737 | 2021-05-16T03:23:17 | 2021-05-16T03:23:17 | 358,048,857 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,186 | r | utility_functions.R |
drawBracket <- function(structureList, P, winner = NA)
{
X <- matrix(NA, nrow = nrow(P), ncol = ncol(P))
for (i in seq_along(structureList))
{
ind <- structureList[[i]]
if (ind[1,2] == ncol(X))
{
if (is.na(winner))
{
X[ind] <- rmultinom(1, size = 1, prob = P[ind])
} else
... |
f05ef53bed55f3e764508b5b0ef50c5edfbb10d9 | 5ba74bc0140276f2ac42383107ceb82bcdeb6e5d | /man/get_reactome_methods.Rd | 0f9b8c19291fbae0e30e338f21cebb1761fd521f | [] | no_license | reactome/ReactomeGSA | 01e4bd76134d1daf83dae2cf09b6977d3b9fe806 | 044eb7b1352c6c6893839258d02e6238579cf67d | refs/heads/master | 2023-04-29T04:15:48.445386 | 2023-04-13T13:34:17 | 2023-04-13T13:34:17 | 194,657,526 | 21 | 3 | null | null | null | null | UTF-8 | R | false | true | 3,111 | rd | get_reactome_methods.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_methods.R
\name{get_reactome_methods}
\alias{get_reactome_methods}
\title{get_reactome_methods}
\usage{
get_reactome_methods(
print_methods = TRUE,
print_details = FALSE,
return_result = FALSE,
method = NULL,
reactome_url = NULL... |
01fca5a4ddaf2020192df634767ed2369aef494e | 3432e3ed5d85e49fca0be9a5213a339cb29c01cf | /scripts/helper/filter_by_snps.R | ab4c11d05522d8a30f78a1d0c82f5517c37dd871 | [] | no_license | bogdanlab/BEAVR | ed451f32f79fec722207e90bebb30c57a473c714 | b6df2c7402ca5bf2543bffdc9ed38b651829224e | refs/heads/master | 2021-07-19T08:59:18.253341 | 2020-10-04T22:45:58 | 2020-10-04T22:45:58 | 219,420,560 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 364 | r | filter_by_snps.R | #!/usr/bin/env Rscript
library(dplyr)
args = commandArgs(trailingOnly=TRUE)
gwas_file<-args[1]
snp_file<-args[2]
out_file<-args[3]
gwas_df <- read.table(gwas_file, header=T)
snp_df <- read.table(snp_file, header=F)
snp_df$SNP <- snp_df$V1
df_filter <- inner_join(gwas_df, snp_df, by="SNP")
write.table(df_filter, ... |
0d928fec3457307d5c7649fd45798260c4abd543 | d2b171da278dbfe70f99fba2aa20d3cc9a319960 | /03_prediction.R | c5e107ac14b68d208840b8f035beca3541dacf9d | [] | no_license | sky94520/introduction_predictiv_modelling | 99ddd42910ced9733de1fe1d89bf2ff47d473e40 | 66de1f77a7ef0cb506d57ee17c91b1f4b3121905 | refs/heads/master | 2022-11-16T10:33:37.809660 | 2020-07-10T19:57:31 | 2020-07-10T19:57:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,708 | r | 03_prediction.R | ############################################################################
# Preamble
############################################################################
rm(list=ls())
set.seed(1337)
### Load packages Standard
library(tidyverse) # Collection of all the good stuff like dplyr, ggplot2 ect.
library(magrittr)
... |
6f43a6fd281f714ee87cf7ddf0fa69577c20b3cd | 358fda5b2a499273537f39bf278450c060f42573 | /code/gb_wrapper_stacking.R | 3b62ed09619a80fc278d1b8d4a80f48c0c572b9a | [] | no_license | schreckf/NIC_Schreck | 7a7886f70a99428f58a7408ad27128fb0cad14c1 | 6ae88f71c924733dc067305e20abb2f4f7794213 | refs/heads/master | 2020-03-18T19:38:24.174405 | 2018-07-15T19:38:02 | 2018-07-15T19:38:02 | 135,166,561 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,546 | r | gb_wrapper_stacking.R | ###### Feature selection for the Gradient Boosting model. A wrapper approach #####
# A model building approach with sequential forward selection is
# established in order to find the best subset of features.
# Each model is built with crossvalidation on the AUC measure.
# One-hot-encoding of categorical features
tr... |
80916ce2f31a87556921423372b88f1368ce239d | 3d0cc57b1908da75fc1bd5a1ad3b074a32835055 | /R/listMetaGenomes.R | e41e137fb37e322c1622c72bc22a93b7211272e8 | [] | no_license | flopezo/biomartr | c964109dfa2356559ae7f566664313615080ef86 | cbd022783c7e1e779096ea3e8abbc2a790b5cb8b | refs/heads/master | 2020-12-24T12:40:15.877281 | 2016-10-31T17:00:35 | 2016-10-31T17:00:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,145 | r | listMetaGenomes.R | #' @title List available metagenomes on NCBI Genbank
#' @description List available metagenomes on NCBI genbank. NCBI genbank allows users
#' to download entire metagenomes of several metagenome projects. This function lists
#' all available metagenomes that can then be downloaded via \code{\link{getMetaGenomes}}.
#' @... |
dc77327c390f65902ec2827ab311ea3a9513d351 | 4e781036d765e18949e09daaac2e4a6a6568b409 | /Plot1.R | a03c0847991b8b6f13f3a7d4f10a2f6cd2a5b400 | [] | no_license | MohsinTunio/ExData_Plotting1 | e4079fbba185094fe8076f6814c322adf06a0df5 | 78a718aecbc0005dbb11b881705ffde52647dbe6 | refs/heads/master | 2021-01-25T13:41:19.422616 | 2018-03-02T20:32:12 | 2018-03-02T20:32:12 | 123,605,002 | 0 | 0 | null | 2018-03-02T16:46:14 | 2018-03-02T16:46:13 | null | UTF-8 | R | false | false | 1,143 | r | Plot1.R | #------------------------------------------------------------------
# ****Plot1****
#------------------------------------------------------------------
?mi# I suppose the data have been extracted into the working directory
# This script creates an image with .png extension in the working directory-- it employs gr... |
2b669859f4ca24242920dc89d07bea1979aacf8d | 7d6907d2cd8b81e79300fe52bf420281b419f5d7 | /Friedmantest.R | 07c4103c24bcefb79e61302c5aa7a6eea37928bf | [] | no_license | Helma-T/CrossvalidatedData | b6d4a9078fd63104b23fff3a358d5ff2586e2246 | 1f1e5fe576709f491ac52416dd5c394cdc074f4f | refs/heads/master | 2022-09-24T04:31:18.002900 | 2020-05-29T10:53:14 | 2020-05-29T10:53:14 | 267,825,414 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 128 | r | Friedmantest.R | anonymized <- read.csv("anonymized.csv")
library(dplyr)
x=select(anonymized, "A_1", "A_2", "A_3")
friedman.test(data.matrix(x))
|
6695cf442bdc31b8c530cf088421867796c51bac | 874aa96cc13571e2378de93742ba81c42cd768f6 | /app.R | 7ca984684689dea82d0a05c0769b82c5812a8531 | [] | no_license | jve19/chem_life | 3cc9d49e3a7b335e9e472a9171e59c067518bda1 | 9143e6afaab4ee0dd7d1d2a20928cc168be2abc0 | refs/heads/master | 2020-12-11T10:09:26.333616 | 2020-01-14T10:48:12 | 2020-01-14T10:48:12 | 233,818,525 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,048 | r | app.R | #setwd("C:\\Users\\Gebruiker\\Documents\\R\\shiny\\trial glasgow")
setwd("C:\\Users\\Gebruiker\\Documents\\R\\shiny\\tortilla_script_070120")
library(shiny)
library(ggplot2)
# Define the fields we want to save from the form
#fields <- c("text_demo", 'secret?')
fields <- c("t_where", 't_which', 'opinion', 'rat... |
adff837a82dc6c85becbe5a91e2c6cfcb6c706b4 | 4b5aa81508cd3900e6e46c67897b7c81d6d199eb | /chick_cars_tasks.R | 5f91b1205015227f26e081edaf1c00a4e2d3977e | [] | no_license | vladyslavchernikov/r_history | a4b6853c715c5767e649c3ff2402f4986802ad84 | a671e4d5603049fe4c8e12aaed30d6c58c184715 | refs/heads/main | 2023-07-19T09:53:10.183675 | 2021-09-15T14:14:29 | 2021-09-15T14:14:29 | 406,790,348 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,671 | r | chick_cars_tasks.R | library("psych")
library("dplyr")
library("ggplot2")
library("Ggally")
library("Ecdat")
library("lmtest")
library("car")
chick <- ChickWeight
summary(chick)
table(chick)
subset(chick,Time = 10)
glimpse(chick)
mean(chick$weight,chick$Time=10)
summary(chick,Time = 10)
view(chick)
qplot(data=chick, Time, we... |
c7abae5616af53331e1f439ce0cce5c4f02606b7 | 16f9d05fa1d0b6aadd313cc2896d7730d0e0d7c6 | /RGtkGen/man/genRCode.Rd | 63c14971a8946cbddfd13610ca330795f23f595a | [] | no_license | statTarget/RGtk2 | 76c4b527972777c567fb115587418f9dea61bf29 | 42c2d5bc7c8a462274ddef2bec0eb0f51dde1b53 | refs/heads/master | 2023-08-24T05:13:35.291365 | 2021-10-24T18:27:46 | 2021-10-24T19:24:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,199 | rd | genRCode.Rd | \name{genRCode}
\alias{genRCode}
\alias{genCCode}
\title{Generate S and C interface code for a C routine}
\description{
These functions generate S and C code that interface to a
Gtk function defined in the .defs files. These are the glue
between the interactive S language and the raw Gtk method
definined in the... |
71eafdf48dc461b526dae3b4e4f8aa72fb6f944f | 92a2eabe000e965687ae574e8ef834d993345a3a | /R_learning/conditionals.R | 482f14cd8a433bb13739a7cf04f727782f1f9c2e | [] | no_license | amendizabalm/R_learning | dab86a396ff0f59f0a23fd53cc123a046ac57f95 | defa428ecdb5b8d8afac09e0e4dd269ac0bcb4fd | refs/heads/master | 2022-06-25T10:26:26.282432 | 2020-05-07T00:42:33 | 2020-05-07T00:42:33 | 261,912,586 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,630 | r | conditionals.R | #conditionals
a=0
if(a!=0){
print(1/a)
} else{
print("No recirpocal for 0.")
}
# an example that tells us which states, if any, have a murder rate less than 0.5
library(dslabs)
data(murders)
murder_rate <- murders$total / murders$population*100000
ind<- which.min(murder_rate)
#which states, if any, ha... |
f6723686476c4db7dd81cc7bac423d7b545d7d1c | db340ce61b6e8e513fb2805fa5fe8ccdea5c4043 | /man/fragPlot.Rd | ba93944684f407c95c20911ea079ac69cc238a04 | [
"MIT"
] | permissive | bakerwm/demo | 763ef7fe03e44df6939889f82757c2aaea31553a | ba4e1c33909dea96142ad6cf41ee2e25b9c2659b | refs/heads/master | 2020-12-02T15:32:20.602059 | 2019-12-31T09:31:58 | 2019-12-31T09:31:58 | 140,517,077 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 233 | rd | fragPlot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{fragPlot}
\alias{fragPlot}
\title{fragPlot}
\usage{
fragPlot(df)
}
\arguments{
\item{df}{data.frame for plotting}
}
\description{
fragPlot
}
|
cd28a9dbf53a00c4a4c95af7ec9f4fc863ce1bb0 | 0aaecd6991a7f16759a1f8d2b3be6093f8a183af | /R/probplot.R | d3a43d8a2009291beb20f6a789d63746c87c9855 | [] | no_license | cran/fastR | 3f0e3959dad4e5d361c341eb6bea670eab6bfdcc | 572a5dc31e5aa85af4126662f95268329179c87b | refs/heads/master | 2021-01-21T04:55:14.927487 | 2017-07-27T19:52:06 | 2017-07-27T19:52:06 | 17,695,981 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,451 | r | probplot.R | #' @export
probplot <-
function (x, qdist = qnorm, probs = NULL, line = TRUE, xlab = NULL,
ylab = "Percentile", ...)
{
DOTARGS <- as.list(substitute(list(...)))[-1]
DOTARGS <- paste(names(DOTARGS), DOTARGS, sep = "=", collapse = ", ")
xlab = deparse(substitute(x))
x <- sort(x)
QNAME <- deparse... |
4ac4261972ce17126745bb277b5106dbcdff1cc6 | 5a5976e18d7f3681ba7d02861fcd627ec0642099 | /docs/correlations.R | aae902c8e0868de0469a19eb5e30ce7d823ae2ee | [] | no_license | mloop/kdiff-type1-error-rate | a8f79631142b83778092af187a611a7efec71399 | 21dfb7455bec9ec8f448e81c0ffb815e050aad8c | refs/heads/master | 2016-09-05T19:32:33.305474 | 2016-01-19T14:50:01 | 2016-01-19T14:50:01 | 26,125,884 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,839 | r | correlations.R | # Purpose: Create figure 2 for manuscript. It's the correlation matrix of the $\hat{D}(h_i)$ values, for different values of $h_i$
# Packages
library(dplyr)
library(ggplot2)
# Load data
results <- tbl_df(read.table(file = "../analysis/results.txt", sep = "\t", header = TRUE))
results_s <- arrange(
filter(resu... |
78a74670fdfec507f7636c2950c8f788ce7441d5 | 8d4aba8553de7ee99ebda55c6e4ab224ae1d0118 | /Neural networks.R | 05958f9c326a5dad24b997a730107c38fc39d394 | [] | no_license | raghavendrarba03/Neural_networks | 8daa18e1fdb8de37d566d16588fa7448ea800d66 | 57cc838fff20128ba585c4b4436e6f05e768caab | refs/heads/master | 2020-04-05T18:28:09.207721 | 2018-11-11T17:24:54 | 2018-11-11T17:24:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 588 | r | Neural networks.R | str(iris)
set.seed(123); iris_mixed=iris[order(runif(150)), ]
iris_train=iris_mixed[1:120, ]
iris_test=iris_mixed[121:150, ]
library(nnet)
nn=nnet(Species~.,data=iris_train,size=2)
library(NeuralNetTools)
plotnet(nn)
nn_pre=predict(nn,iris_test[,1:4],type="class")
library("caret")
nn_pre<-as.factor(nn_pre)
c... |
5f6218779dc650240567427f8576d35f7a0fbe67 | 1c4c928f6ed84d80b18efe369cc0cc9ee25269d8 | /cachematrix.R | d209b5670a906154132cf2424f1cb605e232a028 | [] | no_license | rafigueroapr/ProgrammingAssignment2 | 1f07aa7d50edf29c37699e6bc6eb74d534ebde8b | ac37344fe14ea4fdcd648bc3b19f1a5ab50b04a7 | refs/heads/master | 2021-01-17T09:18:51.525618 | 2014-06-20T22:50:26 | 2014-06-20T22:50:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,622 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## makeCacheMatrix will create a special matrix object, and then cacheSolve will
## calculate the inverse of the matrix.
## If the matrix inverse has already been calculated, the function will
## find it in the cache and return it, an... |
448b25ab6b088bc2e6e4879e7ea5785a639811e4 | 86174891548989b75e92678588b3a532ff8c6b99 | /man/table_reactable.Rd | 95863afe73a10da251503b0f0c116c8a8bcc9704 | [] | no_license | ScottishCovidResponse/SCRCshinyApp | 777d0c84adea17b5ae36a68da8bf8a840803776a | b447fc209c95fa31ee3a32263400a963144dc290 | refs/heads/master | 2022-11-13T11:35:35.541366 | 2020-06-27T09:38:14 | 2020-06-27T09:38:14 | 273,044,757 | 0 | 0 | null | 2020-06-17T18:00:22 | 2020-06-17T18:00:21 | null | UTF-8 | R | false | true | 245 | rd | table_reactable.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/table_reactable.R
\name{table_reactable}
\alias{table_reactable}
\title{table_reactable}
\usage{
table_reactable(covid_dat, all_dat)
}
\description{
table_reactable
}
|
850b596a052c6251ab0597fcd47927868838b15a | 7fa55be282daf5d7bfdf0fb1b86532ca6d422bb9 | /R/model_score.r | a1b75eb16a1acf5a5c9286a2db539320967b244e | [] | no_license | vishalbelsare/autovar | 3fe5e4b032938d26faae49ac367c4dbaa2fa127d | 6277fdf8552246aebb98f4f2c0f6b8c7c199e2f4 | refs/heads/master | 2023-01-13T20:20:22.049310 | 2023-01-05T22:39:04 | 2023-01-05T22:39:04 | 163,805,863 | 0 | 0 | null | 2023-01-06T11:34:26 | 2019-01-02T06:59:48 | R | UTF-8 | R | false | false | 2,116 | r | model_score.r | # Goodness of fit tests
model_score <- function(varest) {
# low values == better models
es <- estat_ic(varest)
if (av_state_criterion(varest) == 'BIC') {
es$BIC
} else {
es$AIC
}
}
normalized_model_score <- function(av_state,model) {
normalized_model <- create_model(model,normalized=TRUE)
varest ... |
fcad03ac785752003c89e7fa376992017cd73b97 | 4c0394633c8ceb95fc525a3594211636b1c1981b | /R/nest_by.R | b867c64b711291802744420cd83d835b47e4c427 | [
"MIT"
] | permissive | markfairbanks/tidytable | 8401b92a412fdd8b37ff7d4fa54ee6e9b0939cdc | 205c8432bcb3e14e7ac7daba1f4916d95a4aba78 | refs/heads/main | 2023-09-02T10:46:35.003118 | 2023-08-31T19:16:36 | 2023-08-31T19:16:36 | 221,988,616 | 357 | 33 | NOASSERTION | 2023-09-12T20:07:14 | 2019-11-15T19:20:49 | R | UTF-8 | R | false | false | 1,595 | r | nest_by.R | #' Nest data.tables
#'
#' @description
#' Nest data.tables by group.
#'
#' Note: `nest_by()` _does not_ return a rowwise tidytable.
#'
#' @param .df A data.frame or data.table
#' @param ... Columns to group by. If empty nests the entire data.table.
#' `tidyselect` compatible.
#' @param .key Name of the new column creat... |
3dc1c46727aa33ff2b33b64654c2b1288ba91c77 | 5b67a3e15e7d0f4474ea029c9a56bd49953d04e5 | /faultDetectionSkySpark/data-raw/cooling_set_outrange_distribute_min_reg.R | 57f0943f30aabc2e0007423415eca3c964fd3e37 | [] | no_license | yujiex/gsa_2018 | 9ae9b978331f93ae8c6a7e8199f5545a5255b06c | ff7a2f1dd879c833d320b6e22f66d35174ee849e | refs/heads/master | 2020-03-18T02:52:27.096253 | 2019-05-24T15:51:04 | 2019-05-24T15:51:04 | 134,211,125 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,039 | r | cooling_set_outrange_distribute_min_reg.R | library("dplyr")
library("ggplot2")
## gsalink_buildings = list.files(path="buildling_fault_start_end", pattern = "*.rda")
## gsalink_buildings <- gsub(".rda", "", gsalink_buildings)
## gsalink_buildings = c("CA0167ZZ")
gsalink_buildings = c("CA0167ZZ", "IN0048ZZ", "TN0088ZZ")
devtools::load_all("../../db.interface"... |
bc713f374b080a11779400d558a5a11fdadb20e7 | 5baa8b42d2718a20223b85d94693d01825ea961e | /MODELING.R | ccd47ba598fcc4a1bb4945885a0c783a1787ce08 | [] | no_license | DSM-LAC/Bolivia-taller | a9d4672a26f8e44f15483f8e390665b5f02c4bb2 | 968e0dc0d63cddd6a2d1dccda61e6156f03f83fc | refs/heads/master | 2020-04-16T19:21:57.960831 | 2019-04-23T14:41:39 | 2019-04-23T14:41:39 | 165,856,613 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,285 | r | MODELING.R | #IMPORTAMOS LAS COVARIABLES AMBIENTALES
library(raster)
covs <- stack("covs5km.tif")
names(covs) <- readRDS('worldgridsCOVS_names.rds')
#EXTRAEMOS A LOS DATOS DE LAS COVARIABLES A LOS PUNTOS
e <- extract(covs, training[c('x','y')])
training <- cbind(training, data.frame(e))
#QUITAMOS VALORES POR ENCIMA DE 65% DE ARENA... |
81c551b8c96cc511d12d81d14d71ec112e21ef7e | 1e23f82ad3aea5958fb4e60136ad0bf07d18edb8 | /server.R | 52fe8afdb3e0fab300705e5ae537054aa3aa01ff | [] | no_license | cmitter/Spurious_Coorrelation_Demo | 64e4a7123aac34e89af0c6b05f435abbea6a3a94 | d9bf28e450ebc82a3d63eb3cbe4b14a5f3088b79 | refs/heads/master | 2016-08-11T16:06:40.996428 | 2016-02-14T20:10:27 | 2016-02-14T20:10:27 | 51,711,156 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,029 | r | server.R | library(shiny)
library(MASS)
rt2 <- function(n=500,dft=15){ rt(n=n,df=dft) }
formals(rgamma)[1:2] <- c(500,1)
rchisq2 <- function(n=500,dfx=1){ rchisq(n=n,df=dfx) }
formals(rf)[1:3] <- c(500,1,15)
rexp2 <- function(n=500,rate2=1){ rexp(n=n,rate=rate2) }
formals(rbeta)[1:3] <- c(500,2,2)
shinyServer(function(input,outp... |
2bb9d8e862b10f44cf667bfe605c03abc3e992a0 | 1ff3b2a37707ab1049a34c61f72898db95864b30 | /Cross Validation algorithm.R | f44c218853ff486f9a7f53dbaa51abb2c3f6d6e0 | [] | no_license | NarendarK29/Model-Selection | bbd04860a9405c25916e6496a10662c98d70e298 | 41dda6d857f3bd48e6bb77cd4f86028497467d99 | refs/heads/master | 2020-09-23T07:10:14.030442 | 2019-12-02T18:11:16 | 2019-12-02T18:11:16 | 225,435,356 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,641 | r | Cross Validation algorithm.R | ###########################################################
# Data Mining #
# Narendar Kumar #
###########################################################
gen_reg=function(n){
x=rnorm(n,0,1)
u=rnorm(n,0,1)
y= 1+x^3+u
ge... |
cf4a44cf0cb999e0aa5290d2863f5956d11838a6 | 9739f7e3c1aaa3b3f6cd4fae073d8c9baf0a9e53 | /R/bootInclude.R | 53b358175f2635d86ab793402ac2494d85c693db | [] | no_license | SachaEpskamp/bootnet | 127d9b460c6833d7562e1876bf31e1f5fbe3de1a | d5af7f30e57c00b0313dbd2479ae379857559ab5 | refs/heads/master | 2023-08-07T22:32:06.086492 | 2023-08-02T08:52:28 | 2023-08-02T08:52:28 | 30,825,303 | 23 | 18 | null | 2023-05-16T11:44:24 | 2015-02-15T11:14:46 | R | UTF-8 | R | false | false | 2,022 | r | bootInclude.R | # Function to create include probability network
bootInclude <- function(bootobject,verbose=TRUE){
# Check if object is bootnet object:
if (!is(bootobject,"bootnet")){
stop("'bootobject' must be an object of class 'bootnet'")
}
# Check type:
if (bootobject$type != "nonparametric" & bootobject$type != "pa... |
6511e4398491347891c7b137b6800607d249284f | d28508911e5a2f5c3d8d849d7d2a97c687dbffd9 | /Chapter07/spacy_pre_trained_embeddings.R | 6ce294f41d8bb6671d612006f46a0751ebcd5cec | [
"MIT"
] | permissive | PacktPublishing/Hands-on-Deep-Learning-with-R | 10032fb0aceed0b315cf7bb399f53e07885df8f7 | 6e3766377395d4e2a853f787d1f595e4d8d28fa5 | refs/heads/master | 2023-02-11T11:05:47.140350 | 2023-01-30T09:37:44 | 2023-01-30T09:37:44 | 124,351,189 | 21 | 15 | MIT | 2020-04-09T06:29:03 | 2018-03-08T07:03:57 | R | UTF-8 | R | false | false | 128 | r | spacy_pre_trained_embeddings.R | spacy_install()
spacy_initialize(model = "en_core_web_sm")
spacy_parse(twenty_newsgroups$text[1], entity = TRUE, lemma = TRUE) |
fef3c9563a7660d7100cf9cf47a57ba2cac854c3 | 81d93db227dac663a9a460e9ba97b6bfe54e9411 | /man/plotStability.Rd | 4223c79f28ccc9bb1f2c2dd46267f0c008a7448d | [] | no_license | powellgenomicslab/ascend | 792d53a054e789cdf8f033bcba71e39c081abb1a | 48c235d3fa02b7c1403f5acbc530036dd12d5fb9 | refs/heads/master | 2020-06-06T03:12:44.266851 | 2019-08-19T06:30:28 | 2019-08-19T06:30:28 | 192,622,263 | 12 | 10 | null | 2020-02-29T21:13:52 | 2019-06-18T22:48:51 | R | UTF-8 | R | false | true | 673 | rd | plotStability.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ascend_plots.R
\name{plotStability}
\alias{plotStability}
\title{plotStability}
\usage{
plotStability(object)
}
\arguments{
\item{object}{An \code{\linkS4class{EMSet}} object that has undergone clustering.}
}
\value{
A line graph generated by... |
e991891e163c87446d9656c7284d2befa4f9be11 | d86268c2fdd4195208c3fd5aecab31c324af7bca | /omd/man/my_basic_setdiff.Rd | 354cdcc1f80f2422beaa1e76683eef0eac910d93 | [] | no_license | bio-datascience/omd | 0e2edc61e86c135383b5d4bf29c14c95af026f5f | 5f2f532dfe077388f7911cc7999622c4b6a3f8b8 | refs/heads/master | 2023-08-28T21:44:27.488641 | 2021-11-02T15:25:02 | 2021-11-02T15:25:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 309 | rd | my_basic_setdiff.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/landcrossing.R
\name{my_basic_setdiff}
\alias{my_basic_setdiff}
\title{More basic version of \code{my_setdiff()}.}
\usage{
my_basic_setdiff(a, b, check_if_a_in_b = TRUE)
}
\description{
More basic version of \code{my_setdiff()}.
}
|
8473bc40f2515b0c9b3832dc5dc0400aefb7e2b5 | 03f9b872f9e89453d1faf9b545d23fbad83bb303 | /R/summary_reads.R | ae90ca077f928b38b0a7e7b5ce1209631ccf8b75 | [] | no_license | kawu001/stackr | 99fa54f4b4e1c8194550752bb238864597442c08 | 684b29b9895c773f48d0e58cba3af22fc2c98a56 | refs/heads/master | 2023-01-06T06:47:55.234575 | 2020-11-05T13:51:20 | 2020-11-05T13:51:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,447 | r | summary_reads.R | #' @name summary_reads
#' @title Summarise the reads for indel and GC content and produce the read depth plot
#' @description Still in dev, but work nicely.
#' Summarise the reads for indel and GC content and produce the read depth plot
#'
#' @param fq.files (character, path) The path to the individual fastq file to ch... |
464215cceb7af480293d11da8401b12f632982c2 | e717b2e829667fd3b6691c923ab4633af4d5ef74 | /plot2.R | 4a4877f2ee455675f767472f2661cc526361e9bc | [] | no_license | Emil-png/Exploratory_Data_Analysis_Assignment | 30568390a28b7e57293c37c2f2158e8a6c47e92d | a44333694c863fe3d3d0ab127d9bbcdb08a501f8 | refs/heads/main | 2023-01-23T02:09:02.929418 | 2020-12-06T00:05:35 | 2020-12-06T00:05:35 | 318,914,098 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,295 | r | plot2.R |
#set working directory
setwd("C:/Users/Dell/Desktop/Cursos/Data_Science_course_Jopkins/Exploratory_data_analysis/Assignments")
if(!file.exists("./dataStore")){dir.create("./dataStore")}
#now get the data for the project from the url
get.data.project <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zi... |
95b15ae915d516a81266df27a5fe3941a899b7fc | f25c5405790cf17a2b6e78b4ef58654810c8bb7b | /man/columnFilter.Rd | 90238ef5cdfc8bd4604ba13b346c3be71ff3e2aa | [] | no_license | moturoa/shintodashboard | 15ad881ea4c72549b616a3021852a0db8c25f6fd | 80385da221d370a563eb1cfe8946964acfacfe15 | refs/heads/master | 2023-05-31T07:05:11.026309 | 2021-06-28T12:55:32 | 2021-06-28T12:55:32 | 312,505,839 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 368 | rd | columnFilter.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/columnFilter.R
\name{columnFilterUI}
\alias{columnFilterUI}
\alias{columnFilter}
\title{Shiny module om een kolom te filteren}
\usage{
columnFilterUI(id, data, preset = NULL)
columnFilter(input, output, session, data, preset = NULL)
}
\descr... |
f1955ebbde05035ba8bda7f1d4aada4f2e66af4b | d2bca2cec889f3ebd2ecfaf9157b9412702d58df | /miRNA/rfam.R | 208fad0a5fef5a5c6cec93519ef4877bbadeaf8a | [] | no_license | czheluo/R-Script | 471fee99b3aa7e5942d42e78bd0d4e6e194f2297 | caa2968bcf3a767d51e2c2c948c8c20f99a2dcb0 | refs/heads/master | 2023-04-15T09:30:29.758206 | 2023-04-06T07:53:29 | 2023-04-06T07:53:29 | 183,537,154 | 2 | 4 | null | null | null | null | UTF-8 | R | false | false | 2,182 | r | rfam.R |
gro<-read.table("group.list",header=F)
g<-unique(gro[,1])
for (i in 1:length(g)){
print(g[i])
loc1<-read.table(paste(g[i],"_1_loc_bias_per.xls",sep=""),sep="\t",header=T)
loc2<-read.table(paste(g[i],"_2_loc_bias_per.xls",sep=""),sep="\t",header=T)
loc3<-read.table(paste(g[i],"_3_loc_bias_per.xls",sep=""),... |
ed2377256eb91d871e25ea8dd1c1f9d97db3418e | fc744a2378b8b1f61f8e0a509f84b5551bb2eeeb | /R/fix_lmer.R | 199c272eef60d58f856c11d0f782cf2fff1f2cc1 | [] | no_license | devoges/fitLMM | d8950a3aad2ab808b3f79be93b1776ab8aa68cda | 12b1692402fd9f6f4c02e20d295b6c8102475079 | refs/heads/master | 2020-04-27T15:02:52.525236 | 2019-07-19T19:01:58 | 2019-07-19T19:01:58 | 174,429,590 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,696 | r | fix_lmer.R | ##-- found online at
##-- https://rstudio-pubs-static.s3.amazonaws.com/305732_7a0cfc5b535c41c8b56ffdc2e322a51d.html
#' @importFrom Matrix Matrix bdiag
#' @importFrom stats rmultinom
#' @importFrom methods as
myReTrms<-function(ListZ,ListVar=NULL){
reTrms<-list()
reTrms$Zt <- Matrix::Matrix(t(Reduce('cbind',List... |
576e82faa11d5c93ee9fb32a2a9ba27859a82c72 | 120de1ae49850f8212efc39ab9fa266f175dc4c6 | /man/covar.Rd | 6957e7c96f8578bde38976d0d0e5f5aa7c9f57a3 | [] | no_license | vsrimurthy/EPFR | 168aed47aa2c48c98be82e3d8c833d89e1d11e04 | 544471a8d0cf75c7d65a195b9f6e95d6b1d6800f | refs/heads/master | 2023-08-02T14:50:25.754990 | 2023-07-29T13:56:39 | 2023-07-29T13:56:39 | 118,918,801 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 270 | rd | covar.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/EPFR.r
\name{covar}
\alias{covar}
\title{covar}
\usage{
covar(x)
}
\arguments{
\item{x}{= a matrix}
}
\description{
efficient estimated covariance between the columns of <x>
}
\keyword{covar}
|
2b00dc77e83a3963ed783806c716cd8b2e7fda3a | ccafbf8e73a96465174e94000f91ecbe21169487 | /04_CNV_genotype/scripts/fun_models.R | f7199ba2c120f32558c489fde609ea87833caa70 | [] | no_license | SinomeM/ensembleCNV | 8c284ee3f73f4599541ff1ec671c3552b08f4caf | 8470619a35f079eb4a0b27b8f7253969e03c114e | refs/heads/master | 2021-07-16T12:49:06.291644 | 2020-06-30T15:26:37 | 2020-06-30T15:26:37 | 184,261,992 | 0 | 0 | null | 2019-04-30T12:54:47 | 2019-04-30T12:54:47 | null | UTF-8 | R | false | false | 39,033 | r | fun_models.R |
mode_zz <- function(dt_cnvr) {
dt <- dt_cnvr
cutoffs <- quantile(dt$LRR_median, c(0.1, 0.9))
dt1 <- dt[which(dt$LRR_median >= cutoffs[1] & dt$LRR_median <= cutoffs[2]), ]
md1 <- mlv(x = dt1$LRR_median, method = "parzen", kernel = "gaussian")
#m1 <- md1$M
sd1 <- sd(dt1$LRR_median)
return(list(mu = ... |
fec196321ca9b10c5d1536abae3bdc3f2c82f5a9 | 5921cca6628a5842d1035e304b9f824768a21cea | /run_analysis.R | 883dceb4b779786b4fae62a45b1336b6971200cd | [] | no_license | MayDS/TidyDataRepo | ee0980d0cd9cced090b9ab8669f8a09b9e56d60e | 7d9bfb07dde6ade53702cbc04115fb27f219862a | refs/heads/master | 2021-01-10T16:19:24.862317 | 2016-02-29T02:58:24 | 2016-02-29T02:58:24 | 52,759,739 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,753 | r | run_analysis.R | ## Code for Course Project in Getting and Cleaning Data course
## The output summary data file name for the run_analysis function can be entered
## as an argument.
run_analysis <- function(outputfile = "tidydata.csv"){
library(plyr, quietly = TRUE)
library(dplyr)
library(reshape2)
## Downlo... |
1a42380fb04b6ddd19d0807674dd5652e1bac0e2 | d095d504fbb0b6a055586e71b4d0a6522425cd20 | /R_functions.R | cacdc875d39cf640b1e27f92387c512d0e61110a | [] | no_license | breakerkun/FLM-clustering | 41855350b78ef872962212f43f14f56dd33ea39a | 66d99b6edd34b45e3887682412bee1601524f609 | refs/heads/main | 2023-07-01T20:53:21.857344 | 2021-08-04T15:42:43 | 2021-08-04T15:42:43 | 385,279,962 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,313 | r | R_functions.R | library(MASS)
# some examples of coefficient functions
Beta89 <- function(t) {
beta89.t <- rep(0,length(t))
for(i in 1:length(t))
{
beta89.t[i] = 2-6*t[i]
}
return(beta89.t)
}
Betacubic <- function(t) {
betacubic.t <- rep(0,length(t))
for(i in 1:length(t))
{
betacubic.t[i] = -3+10*t[i]*t[i]-10*... |
1fae35b83c096ab2778345547c0d67830893ccf8 | dd2f731943b17b9087c2141dfde592b7733ac33f | /man/normalizedKendallTauDistance.Rd | 8a83bc2978d56bd075d485ac5182aa18e7a835de | [] | no_license | katal24/PairwiseComparisons_work | 2b87d059db30ead31f376953a6c7c5c8434e7dee | 466aa7af135954c400dde0fd44be76d850e20af7 | refs/heads/master | 2021-05-01T12:30:48.409704 | 2016-11-29T14:03:34 | 2016-11-29T14:03:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 582 | rd | normalizedKendallTauDistance.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pairwiseComparisons.R
\name{normalizedKendallTauDistance}
\alias{normalizedKendallTauDistance}
\title{Normalized Kendall Tau distance for two vectors}
\usage{
normalizedKendallTauDistance(list1, list2)
}
\arguments{
\item{list1}{- first rank ... |
43f480de29974f35a772013c79df969f1437437c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/RMTL/examples/calcError.Rd.R | ca4aaa784bb3e7b4a5b72c179b917517087b8c13 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 509 | r | calcError.Rd.R | library(RMTL)
### Name: calcError
### Title: Calculate the prediction error
### Aliases: calcError
### ** Examples
#create example data
data<-Create_simulated_data(Regularization="L21", type="Regression")
#train a model
model<-MTL(data$X, data$Y, type="Regression", Regularization="L21",
Lam1=0.1, Lam2=0, opts=... |
68f2e8766d9d9d8069aaccd520e877cf1e4cc866 | 8afb6488566bc68c33766c1c5cc45c4d4bf07560 | /Test17.R | fbafb29f13f373849fe5e642bd661bae56be6ba5 | [] | no_license | RajithaGayashan/R | e6eee46c900aa7b63f1d2995b218193ef7e24b7b | 4612fb218e701c9b1c644a3b15f855d3a5c25a4b | refs/heads/master | 2020-12-05T11:07:46.805763 | 2020-02-03T10:43:05 | 2020-02-03T10:43:05 | 232,090,770 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 138 | r | Test17.R | #Data summarization -Graphical method
#Scatter Diagram
plot(iris$Sepal.Length,iris$Sepal.Width)
plot(iris$Petal.Length,iris$Petal.Width)
|
9b84fd8672b7f68af1d2f09bba92e96cf17b18c2 | f35cd0a30aefe6faa72b21b8519706858c9f7e3b | /R/ic_find.R | 53e19cdddf21a2bb1b1be4d7cfbbf440b2c9f7ab | [
"Apache-2.0"
] | permissive | ATFutures/calendar | 66a816c8e60a6abcdb6c8b1e5011ff7a51f257e3 | d06f8febadc8c0c0f2770399a866bb7de4a4e02d | refs/heads/master | 2021-07-24T10:12:46.718376 | 2021-07-16T12:14:48 | 2021-07-16T12:14:48 | 143,872,302 | 22 | 8 | NOASSERTION | 2021-07-16T12:14:48 | 2018-08-07T12:47:25 | R | UTF-8 | R | false | false | 354 | r | ic_find.R | #' Find contents of iCal fields
#'
#' @param x Lines read-in in from an iCal file
#' @param pattern A text string to search from (an ical field)
#'
#' @export
#' @examples
#' pattern = "DTSTAMP"
#' ic_find(ical_example, pattern)
ic_find <- function(x, pattern) {
pattern <- paste0(pattern, ":")
locations <- grepl(x,... |
1727342453a20994692d5a718c1b8b533a7c7d10 | 4ea5205aa0b2e6e201e5fbd5070688a3e5b311f2 | /Data preparation Assignment.R | 787217fd18361674b0cb213331932517b2e3906c | [] | no_license | Keerthbeth/BusinessAnalytics | bfbbd792afe910c6c53944ee8c10ed5dfe7cc859 | 2385398e32c8d428e16b2f8a0a8438e36c68708c | refs/heads/master | 2020-04-14T08:10:40.820031 | 2019-01-01T14:42:31 | 2019-01-01T14:42:31 | 163,730,644 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,143 | r | Data preparation Assignment.R |
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#1 Data Preparation and imputations
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
data1<-read.csv("D:/assignment_data_prep/assignment_dat... |
54346ff31e06fc0e1fcc0f21191ec80bc4305721 | 0afc779287f863d2de305a7b95243c988c2aefcb | /Lab4.R | b32c54d8c7d309e63978ccb4d833869273ee5969 | [] | no_license | Jacob-Snyder/Lab-5 | d91f0f255e36fd71496e07f65678803fb1c1505f | afde6b77ee974a8a9ec086583a44f0a2567ed61a | refs/heads/master | 2022-11-10T23:52:27.346329 | 2020-07-03T20:18:54 | 2020-07-03T20:18:54 | 276,967,973 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,794 | r | Lab4.R | library(tidyverse)
s.t. <- tapply(X = fish$parcel.density.m3,INDEX = fish$transect.id,FUN = mean)
s.t.
data.frame(s.t.)
s.t.$mean <- row.names(s.t.)
s.t.
s.t. <- tapply(X = fish$parcel.density.m3,INDEX = fish$transect.id,FUN = mean)
data.frame(s.t.)
s.t.
st2 <- data.frame(s.t.)
st2$mean <- row.names(st2)
st2
s.d. <- t... |
05cc6d41fdafcc2de3a25bdbd9a3869f1fd0ebb5 | 9689cd916145b4f477003353a681f25f22045bd2 | /rf_predict.R | 8767bde28c565757f373bb92ae92e66c23dfba8c | [] | no_license | dingiser/DTB100China | 8108b979dde4c5c11e6c95651d8e17a154947a6e | 6198cd88565a52ae18b44cd08c7b6ad64d61e46e | refs/heads/master | 2022-03-01T01:31:46.960372 | 2019-12-03T04:03:31 | 2019-12-03T04:03:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,471 | r | rf_predict.R |
### apply spatial prediction using ramdom forest
library(randomForest)
library(rgdal)
library(sp)
rm(list = ls())
gc()
memory.limit(size = 100*1024)
load("F:/New/RData/rf.RData")
load("F:/China/Final/blockList_1h.RData")
### predict DTB for every 1¡ã ¡Á 1¡ã block
predictFunForParallel<-function(bList)... |
0cb6be76f24f92ebc6e1edca3c70700cfe82f33e | 50fd6e2baeac8c557023daf23afb48a02bb1a103 | /R/generics.R | ba36f38aaea212ce5d286f32a210cdc3abbe1158 | [
"Apache-2.0"
] | permissive | aszekMosek/CVXR | 1efa4ce7a290fe026f5afbfd79c12e7d754ed350 | e8bd7e417bd868341edf487f108fbf57d24247a1 | refs/heads/master | 2020-09-23T01:06:33.713597 | 2019-11-07T19:48:05 | 2019-11-07T19:48:05 | 225,362,059 | 0 | 0 | Apache-2.0 | 2019-12-02T11:44:34 | 2019-12-02T11:44:33 | null | UTF-8 | R | false | false | 33,906 | r | generics.R | #'
#' Sign Properties
#'
#' Determine if an expression is positive, negative, or zero.
#'
#' @param object An \linkS4class{Expression} object.
#' @return A logical value.
#' @examples
#' pos <- Constant(1)
#' neg <- Constant(-1)
#' zero <- Constant(0)
#' unknown <- Variable()
#'
#' is_zero(pos)
#' is_zero(-zero)
#' is_... |
8b9dc6ed819d73a5ed42ca89013350991f3e9421 | e0792d444ced51db843c659be798fad158ac1e93 | /simulation/summary/preProcessiCOBRA.R | 7d1355a774f976d7e2135901fd2fcb2437be357f | [] | no_license | cfc424/rna-seq_tcComp | 9cf34e9a3c04655a66dcdf5a70941599270c1eae | 2146f415b37ccf35aeb3d3dacb4febb4a8183acc | refs/heads/master | 2021-12-30T12:53:37.250504 | 2018-02-09T10:03:10 | 2018-02-09T10:03:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,101 | r | preProcessiCOBRA.R | #!/bin/Rscript
############ path to directories ############
path <- "~/Documents/phd/data/simulation/study"
outPath <- paste0(path,"/summary")
system(paste0("mkdir -p ",outPath))
methods <- dir(file.path(path,"results"))[-c(4,6)] # exclude noise and GSE data set
files <- sub(paste0(methods[3],".txt"),"",list.files(fi... |
51d888f2ac178c4532755e8137050cf0dfe4dc7a | 0cc47aef60324272a954309ecc8cf08f2ad38813 | /inst/doc/recommenderlab.R | 4ef74a0269158b1b7d0f8a7423694aac1ee40f79 | [] | no_license | cran/recommenderlab | fff485dc29ebfe25ac47b90283ab4a5b6dcb9568 | 9c2d2f7f6d7e06094a2641c60a31e771c527668b | refs/heads/master | 2023-06-28T00:47:49.557436 | 2023-06-20T21:00:02 | 2023-06-20T21:00:02 | 17,699,104 | 20 | 26 | null | 2018-05-22T16:33:16 | 2014-03-13T06:04:13 | R | UTF-8 | R | false | false | 11,097 | r | recommenderlab.R | ### R code from vignette source 'recommenderlab.Rnw'
###################################################
### code chunk number 1: recommenderlab.Rnw:88-91
###################################################
options(scipen=3, digits=4, prompt="R> ", eps=FALSE, width=75)
### for sampling
set.seed(1234)
###############... |
310460a48906d32a335a3aee27afa8a125a6d851 | 55544bfa2ef73067d9af918c0da41cec66ff368e | /R/globalstatsforgame.R | 6732225a0957bcfd733f03360b0e34621bd74f5e | [] | no_license | drewlake/steamR | c65fb79417fcb37394f54125dd7120e96ef83c63 | 29e31d537ed66d24e689788557a49dd1233e2ea9 | refs/heads/master | 2016-08-11T10:02:50.702583 | 2016-04-04T10:59:53 | 2016-04-04T10:59:53 | 45,043,830 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 586 | r | globalstatsforgame.R |
#' Global stats for a game
#'
#' Returns list for gloabal stats for a game
#' @export
#' @import data.table
#' @import rjson
#' @param gameid Steam game ID
#' @param stat name of achievent
glbstats <- function (gameid = "17740", stat = "global.map.emp_isle") {
json_file1 <-
"http://api.steampowered.com/ISteamU... |
ad4746e559d413b3d4ecd068a3413d19c126249e | 1f0025783a4e015ecb6d9b2a1a0451d948812240 | /man/get_data_range.Rd | 838589ee3e796c2bb591023e35f1e60ea7ad516e | [] | no_license | dipterix/rutabaga | 9965d33dc136da837af1e95067bf722efb3e3244 | e47423870b34ca17a1736ce8d4fe146b2697de19 | refs/heads/master | 2022-07-08T00:19:08.625715 | 2022-06-22T23:03:12 | 2022-06-22T23:03:12 | 137,968,822 | 0 | 1 | null | 2021-09-05T23:07:15 | 2018-06-20T02:18:12 | R | UTF-8 | R | false | true | 455 | rd | get_data_range.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_helpers.R
\name{get_data_range}
\alias{get_data_range}
\title{Get Data Range From A Collection Of Named Lists
(questioning)}
\usage{
get_data_range(ll, name = "range", ...)
}
\arguments{
\item{ll}{list}
\item{name}{element name}
\item... |
cb756916125d626d516c25e5d70e1913064c32b7 | 8ef48830a3d4beef21187e60d8d79148df8a5e1c | /week_5/hw/speech.R | baf5d72dff63b8ac0ffe3403a02aeae66e2c1952 | [] | no_license | richlay/Rlanguage | cac987762a7d46e97366e89acce7b72735aa6c26 | d9d0f1388a894c2f230392a014509ea937d95f93 | refs/heads/master | 2021-08-07T20:54:48.588550 | 2020-04-10T19:22:40 | 2020-04-10T19:22:40 | 148,768,162 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,422 | r | speech.R | library(tm)
library(tmcn)
library(jiebaR)
library(stringr)
library("SnowballC")
library("wordcloud")
library("RColorBrewer")
library(Rwordseg)
cutter <- worker(stop_word = "停用詞.txt") #initialize jiebaR workers
#for (y in 91:107) {
# nam <- paste("speech", y, sep = "")
# assign(nam, readLines(paste(y, '.txt' , sep ... |
7f4fad061e6ba9e79ba912082e43b5e50121fca6 | e4c6377ccbb4675ca75ded549de3a2e1cab721ed | /man/predict.fastVAR.VAR.Rd | b6f3a02e59827ace316bf7a9424f6fefac8016a9 | [] | no_license | skyu1226/fastVAR | 090f71a54d7bc9b24f74b50fd818b18197030b00 | a3f627267e916a3e2fd26189d8abc401f720be0d | refs/heads/master | 2021-01-20T14:35:54.247635 | 2013-01-30T17:56:17 | 2013-01-30T17:56:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 602 | rd | predict.fastVAR.VAR.Rd | \name{predict.fastVAR.VAR}
\alias{predict.fastVAR.VAR}
\title{VAR Predict}
\usage{
\method{predict}{fastVAR.VAR} (VAR, n.ahead, threshold,
...)
}
\arguments{
\item{VAR}{an object of class fastVAR.VAR returned from
VAR}
\item{n.ahead}{number of steps to predict}
\item{threshold}{threshold prediction valu... |
f63862dcc57da9cfce176888aa1b9964162f2500 | 0338a652966267cd47c13b74fce75d0d8b4dd335 | /R/compile.R | 6855cafee2ad0b9c618e4c342f8335ea02c960a6 | [] | no_license | duncantl/R2llvm | 1fb3086b499b4d187491107923a9ff4eb064ef02 | bbfe1b4eeadafbbee562fed97e177fde2471c303 | refs/heads/master | 2021-01-21T14:39:21.044144 | 2017-07-03T18:50:50 | 2017-07-03T18:50:50 | 95,319,119 | 8 | 0 | null | null | null | null | UTF-8 | R | false | false | 48,588 | r | compile.R | ## compile.R - compile R functions
# Some of this was inspired by Tierney's compiler package.
MathOps = c("+", "-", "*", "/", "%/%", "^")
LogicOps = c("<", ">", "<=", ">=", "!=", "==", "!")
getBasicType =
function(call)
{
id = as.character(call[[1]])
switch(id,
integer = Int32Type,
stri... |
6817b313f26cf7d98259a7d70a5ba32e4c433caf | d5d8785c91ddab62b125aab6b4a740826127ae2b | /man/vcf2QTLseq.Rd | 55373f894772a15499e19cc78381f9b96f21621e | [] | no_license | shankarkshakya/mypackage | b7cd7e7bd220cce75b991713dc57ceb119ecbeb4 | 853b316d4d532dcb226584837801ed15f4c2983b | refs/heads/master | 2023-07-26T04:00:11.923306 | 2021-03-09T21:45:29 | 2021-03-09T21:45:29 | 115,390,638 | 1 | 2 | null | 2021-09-09T19:55:22 | 2017-12-26T05:59:35 | R | UTF-8 | R | false | true | 434 | rd | vcf2QTLseq.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/vcf2QTLseq.R
\name{vcf2QTLseq}
\alias{vcf2QTLseq}
\title{Convert vcfR object to QTLseqR format.}
\usage{
vcf2QTLseq(vcf)
}
\arguments{
\item{vcfR}{object.}
}
\value{
text file
}
\description{
The function converts vcf file to text format file... |
9c06eb37b402cc6d106aa6cacb2399b20477a710 | 4cb5426e8432d4af8f6997c420520ffb29cefd3e | /R58.R | 041c26c2930f4919dc522e02a73b34db77945a8e | [
"CC0-1.0"
] | permissive | boyland-pf/MorpheusData | 8e00e43573fc6a05ef37f4bfe82eee03bef8bc6f | 10dfe4cd91ace1b26e93235bf9644b931233c497 | refs/heads/master | 2021-10-23T03:47:35.315995 | 2019-03-14T21:30:03 | 2019-03-14T21:30:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,252 | r | R58.R | # making table data sets
library(dplyr)
library(tidyr)
library(MorpheusData)
#############benchmark 61
dat <- read.table(text=
"
ID p_2012 p_2010 p_2008 p_2006 c_2012 c_2010 c_2008 c_2006
1 160 162 163 165 37.3 37.3 37.1 37.1
2 163 164 164 163 2.6 2.6 2.6 2.6
", header=T)
write.csv(dat... |
bf0812f812801da13fd346d1a9a3612d57dd2f9e | 1df29054dba27843aeb8b46286e9347dac7dd6b1 | /WaterQuality/Scripts/RunSWQUpdate.R | 08cf7afbc9f1062c567fa793212390b9e6f8a838 | [] | no_license | lukefullard/LAWA2021 | 9e40fab111493361de1a95a0572e05a7d9410a7a | db3528005791fba016b40cbd8dd268dba4ed2b6e | refs/heads/main | 2023-07-19T16:00:29.563125 | 2021-09-27T19:50:27 | 2021-09-27T19:50:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 113 | r | RunSWQUpdate.R | source("./scripts/SWQprepWFS.R")
source("./scripts/SWQloadAndCompile.R")
source("./scripts/SWQ_state.R")
♣
|
456bc7175433147b242719ed9c500e3447c534a4 | 93c52470855de917e759adb0e42940133e52070b | /.ipynb_checkpoints/Help_Functions-checkpoint.r | 61f8cf5262697db158dbaab10b3a9ab6c0153254 | [] | no_license | Vasco27/UCI_Heart_Disease | 02b02cbc3f51c7de020882e647b2038bda5d111f | 1cbc8dd14d6c7dcaf59097ec371fea8138e2ac87 | refs/heads/master | 2022-04-23T17:06:24.118452 | 2020-04-19T17:18:35 | 2020-04-19T17:18:35 | 255,373,175 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,690 | r | Help_Functions-checkpoint.r | #Help functions
to_numeric = function(x) {
return(as.numeric(as.character(x)))
}
#Splits dataset into a train and test set with given percent split
train_test_split = function(data, train_size = 0.7) {
set.seed(1)
#train_idx = createDataPartition(data$target, p = train_size, list = FALSE, times = 1)
... |
0322e09f3eef755c35e7e6a5457cebe61c273536 | a73d721a7fd75c2df60ed088208ed2899d0927ba | /HTSevents/archive/v1_0/populate_failure_modes.R | 93264346d55aa172daabbac922ff943bb21c06d6 | [] | no_license | jpwalker625/tutorials | 1d4c9e0bfe03128412518ec09065b1eb1d37191b | 2553890f1d214558d2f6008793a26e38b2fd1179 | refs/heads/master | 2021-01-23T01:06:59.845623 | 2019-02-12T00:44:09 | 2019-02-12T00:44:09 | 85,870,953 | 0 | 0 | null | 2017-08-24T15:47:12 | 2017-03-22T20:04:09 | HTML | UTF-8 | R | false | false | 507 | r | populate_failure_modes.R | #!/usr/bin/env Rscript
#
# Jabus Tyerman
source("/var/shiny-server/www/HTSevents/load_packages.R")
source("/var/shiny-server/www/HTSevents/hts_functions.R")
wd <- "/var/shiny-server/www/HTSevents/"
setwd(wd)
x <- read.csv("HTS_events_failure_modes_list_jabus_2014-01-14.csv",stringsAsFactors = FALSE, header=TRUE)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.