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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4d3e48587e8db1a4a16c775054085f7c278495ed | 126ca45750aba7dc86fe804044ebbd0701ca997e | /r_scripts/interpreting_regression_coefficients.R | 98152c9ac02759bc52bc4b506cdee125a0e5d753 | [] | no_license | stonegold546/website | 95a3636b560be2f48dbecd9c2fe19015e2f4d080 | b7789022c823d4a250a002a829218c7f65ce2848 | refs/heads/master | 2021-01-16T18:25:02.874669 | 2018-01-15T07:12:31 | 2018-01-15T07:12:31 | 100,074,012 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 353 | r | interpreting_regression_coefficients.R | hsb <- read.csv("datasets/hsb_comb_full.csv")
names(hsb)
# Let's go with the first school, and the first 5 student-level variables
hsb <- hsb[hsb$schoolid == hsb$schoolid[1], 1:5]
summary(hsb)
# Mathach, ses and female seem to have some variability
# Let's predict math achievement using female (dummy), ses (continuous)... |
6bc2ae2c6332ff920d35cfc13c0f6187681f45a4 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/gRain/man/finding.Rd | 71dee37ea564ae88208a67bb68250af76b8ad182 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 2,854 | rd | finding.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/finding.R
\name{finding}
\alias{finding}
\alias{setFinding}
\alias{retractFinding}
\alias{getFinding}
\alias{pFinding}
\title{Set, retrieve, and retract finding in Bayesian network.}
\usage{
setFinding(object, nodes = NULL, states = NULL, fli... |
01cd47025a7a061c2c219a4945acdfcdd048400d | f76402444a7595f7f3df6a0eb1f8152daf07f1a6 | /inst/variancecomponents/baseball/demo_gibbsflow_sis.R | 6ac42e8ca5332a44d692280888bc4b901214ef82 | [] | no_license | jeremyhengjm/GibbsFlow | d2cb72e6e1dc857469ff490f566a3a28ff1f90d8 | e15b2978628eba79a9930fb27abb906895abe807 | refs/heads/master | 2021-06-27T13:17:50.151264 | 2021-02-12T12:08:06 | 2021-02-12T12:08:06 | 337,633,398 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,703 | r | demo_gibbsflow_sis.R | rm(list = ls())
library(GibbsFlow)
library(tictoc)
library(ggplot2)
# prior
prior <- list()
prior$logdensity <- function(x) as.numeric(baseball_artificial_logprior(x))
prior$gradlogdensity <- function(x) baseball_gradlogprior_artificial(x)
prior$rinit <- function(n) baseball_sample_artificial_prior(n)
# likelihood
... |
e4ba2868b3fa4a6bdf59726545ac6432ba0c93f0 | 6a477dfdb76af585f1760767053cabf724a341ce | /inst/examples/retired/ex-mk_intervalplot.R | d662431d105e065292439dbe03df0b49886d4504 | [] | no_license | gmlang/ezplot | ba94bedae118e0f4ae7448e6dd11b3ec20a40ab4 | 9c48771a22d3f884d042a6185939765ae534cb84 | refs/heads/master | 2022-09-20T11:43:50.578034 | 2022-09-16T02:05:24 | 2022-09-16T02:05:24 | 34,095,132 | 6 | 2 | null | null | null | null | UTF-8 | R | false | false | 752 | r | ex-mk_intervalplot.R | library(ezplot)
library(tidyr)
library(dplyr)
# ex1
dat = films %>% select(year_cat, budget) %>% group_by(year_cat) %>%
summarise(mid = median(budget), lwr = min(budget), upr = max(budget))
dat
plt = mk_intervalplot(dat)
title = "Budget Range from 1913 to 2014"
p = plt(xvar="year_cat", yvar="mid", ymin_var="lw... |
89031967f4296d9a46658a82226891dd9944bfe0 | ebd63bc43c6cac99f78425e5ed72afac467c4e2f | /cachematrix.R | a94c7b37dd7c818af3f838c5b916dfa8f35f3ced | [] | no_license | k29jm7e/ProgrammingAssignment2 | 012f249b48be0cd8ce3d1faa3548c2d568010d77 | ccf2262a15591c5bb7216e3b5f4d29068e5b95ab | refs/heads/master | 2021-01-11T00:52:52.329274 | 2016-10-13T19:11:57 | 2016-10-13T19:11:57 | 70,457,675 | 0 | 0 | null | 2016-10-10T06:18:04 | 2016-10-10T06:18:03 | null | UTF-8 | R | false | false | 1,302 | r | cachematrix.R | ## The following two functions are used to create a matrix and cash its inverse by
## storing them in a special object aswell as retreiving the invers of the matrix
## from the cash.
## The following function creates a special "matrix" object that can cache its inverse.
makeCacheMatrix <- function(x = matrix()) {
... |
c040e0dcf3259b31df116eb691442fa26a4745fa | cb06c3a5f797bbdc86e5b25c71e6f52184a3ee04 | /plot3.R | 123144c9def75ea7f2773150c0a16257b77b658f | [] | no_license | TerryDuan/ExData_Plotting1 | 0f7aef3593897bd6d4f813a602411daa8d92e876 | cb1470fc6bbf38a201ed64fcf6f28235542a253c | refs/heads/master | 2021-01-15T08:20:06.655869 | 2015-07-10T18:51:15 | 2015-07-10T18:51:15 | 38,783,220 | 0 | 0 | null | 2015-07-08T22:22:44 | 2015-07-08T22:22:44 | null | UTF-8 | R | false | false | 1,273 | r | plot3.R | ##the wording dir is set to default, so need redirect to where raw data located
plot3 <- function(){
data <- read.csv("~/myR/data/household_power_consumption.txt",sep=";", stringsAsFactors = FALSE)
data2<- tbl_df(data)
data3<-data2[data2["Date"] == "1/2/2007" | data2["Date"] == "2/2/2007",]
data3<-data3[data3["... |
497a81e5e9fd4f21d9a1df20fa2613ea68c6d370 | 5ba816fc2889e0fc5cfc2ce0c4ac642bfac8ae38 | /synthetic_expr/synthetic_mscls_2.R | 4f8f1272c70c989aadc2b779e560f823b377a0be | [] | no_license | bargavjayaraman/secure_model_aggregation | ce0ca597a54eec2bfbe3c5cec5464458bf897862 | dea3dc9c4d38424c52125118c5709a037b4c7b88 | refs/heads/master | 2022-09-11T01:32:21.456279 | 2020-05-28T13:38:20 | 2020-05-28T13:38:20 | 103,537,043 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 968 | r | synthetic_mscls_2.R | # misclassification rate in synthetic dataset for centralized
load("syndata.Rdata")
Nexpr = 20
misclsfctn = rep(0,Nexpr) #misclassification rate
load("../../centr20000_100.Rdata")
for(expr_no in 1:Nexpr){
betahat = betas[[expr_no]][[5]]
betahat = as.numeric(betahat)
# if using 40 parties, should be <=t[2], 60 ... |
e15d03fe332e5183e6e8d5510d9d5e78140816d2 | 90d59895830814f772861dfb52f0e520de79af89 | /man/climexp_to_sef.Rd | 9b04ba15447f8efad282a28833d160e9c92a1962 | [] | no_license | cran/dataresqc | 003d5e007a67e3639705099eeae6f912de1f0228 | 4e3a4a19308c5e29a1c1b93896523764f701c356 | refs/heads/master | 2023-04-13T07:42:08.328276 | 2023-04-02T21:00:02 | 2023-04-02T21:00:02 | 245,601,581 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 587 | rd | climexp_to_sef.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/conversions.R
\name{climexp_to_sef}
\alias{climexp_to_sef}
\title{Download a GHCN-Daily data file from the Climate Explorer and convert it
into the Station Exchange Format}
\usage{
climexp_to_sef(url, outpath)
}
\arguments{
\item{url}{Charact... |
51312ef8c4b8bb4115769face48388acd82f5961 | d39ebc2fe344679a396111b0199ea50671192fa9 | /bin/create_phased_maplist.R | ad11dd1b84714779eb30172dc3ffb0eae8678cb8 | [] | no_license | czheluo/Polymap | 3a8d287cb09ac142623e054ccca249086d4de73f | e7b705f446646cd233effcadd74489d6ff2575bf | refs/heads/master | 2020-05-05T07:18:09.433180 | 2019-11-13T15:30:21 | 2019-11-13T15:30:21 | 179,820,365 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,795 | r | create_phased_maplist.R | create_phased_maplist <- function(maplist,
dosage_matrix.conv,
dosage_matrix.orig = NULL,
remove_markers = NULL,
N_linkages = 2,
lower_bound = 0.05,
... |
ef1972bd0b577c16e3f510067227f9a0043af5c6 | a138250a21bc0a32cdbdcad01fe44d1557bd26d8 | /2-SymiinChow/01DiscreteTimedynrExamples/CFA/GenDataCFA.r | caba545aa3be391f2953c951d83d92a624b2b154 | [] | no_license | ktw5691/dynamic-time-imps2018 | 49ab7aa0374de9c2596d70681df19a03ec5c7013 | e4f1d177b1c63c8323fc3a19e578ca2ed0e3041f | refs/heads/main | 2021-06-16T16:14:16.498539 | 2018-08-05T22:46:47 | 2018-08-05T22:46:47 | 140,288,930 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,531 | r | GenDataCFA.r | #To simulate data for dynamic factor analysis model with auto- and cross-regressions for 2 factors, 2lags (0 and 1 lag) each
rm(list=ls(all=TRUE))
nt=1 # number of time points
ne=2 # number of states
ny=6 # number of observed
nx=0 # number of fixed regressors
np=500 # number of subjects
filey=paste0('CFA.dat') ... |
ccf7b689a7157585d2f8e7eca311df54d462c0fc | 7a79d24727ec33cb3db2629422ebf4f9beac2e37 | /itemset_mining.r | 01b0a9615f866fdf961bf07025c8acb6044031b2 | [] | no_license | benjaminvdb/mining_recipe_data | 024b68c8269fd7f2574bec37e43ac6983aa20de9 | 999ab8508f2e0c960c094aabdbe8125731096c7c | refs/heads/master | 2023-01-28T07:18:24.358564 | 2020-12-09T12:22:16 | 2020-12-09T12:22:16 | 63,415,621 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 9,696 | r | itemset_mining.r | require(arules)
require(arulesViz)
require(tikzDevice)
base_dir = '/Users/benny/Repositories/recipes/paper'
tables_dir = file.path(base_dir, 'tables')
plots_dir = file.path(base_dir, 'plots')
saveTikz <- function(plt, filename, width = 4.9823, ratio = 1.618) {
height <- width/ratio
filename <- file.path(plots_dir... |
c72948e5f2c6d0be4b893ac09f3e51f96a3bb3aa | c4ceae368b59f5ff8c473abaec394f7ffaf4be00 | /cachematrix.R | bb03d0e127577118ca74e2d1dae5363f7a78a8ec | [] | no_license | FatmaElBadry/ProgrammingAssignment2 | 560811b208f849754e9414687bb7332931aaa1ad | ad861d578e8b7e9f38839dd6cda9da7bafe8346b | refs/heads/master | 2021-09-01T19:36:22.638469 | 2017-12-28T13:17:04 | 2017-12-28T13:17:04 | 115,616,833 | 0 | 0 | null | 2017-12-28T11:29:13 | 2017-12-28T11:29:13 | null | UTF-8 | R | false | false | 2,534 | r | cachematrix.R | ## Week 3 Assignment;cachematrix;Developed By: Fatma ElBadry
## Put comments here that give an overall description of what your
## functions do
## Function "makeCacheMatrix" gets a matrix as an input, And has a list of functions that can do the following:
## 1.set the value of the matrix,
## 2.get the value of the ma... |
caeb9d8e09b24a2a18042f332d2dde30586c17f9 | f1296f9a7a47a1d00a6613c9ba358bb9808b3f14 | /ui.R | 3bed9c87f25ca4213674525e3cb82c6367782f8e | [] | no_license | straussalbee/ShinyStability | 6d60927095bef1098ec98657a4de31383efa055e | 72a6e6ba0316511d2a82f0688ee6059ab4f62217 | refs/heads/master | 2021-01-10T03:31:40.387883 | 2016-01-11T23:12:21 | 2016-01-11T23:12:21 | 49,459,799 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,154 | r | ui.R | library(shiny)
#NK repertoire stability data visualization app
stability <- read.table("StabilityData",header=TRUE,colClasses=c(rep("factor",4),"numeric","factor"))
dataset <- stability
#Define UI
shinyUI(fluidPage(
title = "Human NK Cell Repertoire Stability",
plotOutput('plot',width = "900px",height="600px... |
c0017e4c670e9dba125e743a7956b840437c1a69 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.compute/man/emrserverless_list_job_runs.Rd | 5ff7c0104aa187b824067577f1c405aa38a6a705 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 1,149 | rd | emrserverless_list_job_runs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/emrserverless_operations.R
\name{emrserverless_list_job_runs}
\alias{emrserverless_list_job_runs}
\title{Lists job runs based on a set of parameters}
\usage{
emrserverless_list_job_runs(
applicationId,
nextToken = NULL,
maxResults = NUL... |
774fb27cff478f55f14db8744d5dc18fcca07074 | f5789c65889f7021f5c37f8af7e1b64d9060babf | /man/FuzzyData-class.Rd | 06b91ee0d40e285234813b9dc4d04edf45e9adb1 | [] | no_license | edwardchu86/FuzzyAHP | 31341c6e2cdb8b803e9cf03c988ee0b57b235ad2 | 1f46fee5b5d22dc48ff8d2cfe3889f594d67b3f0 | refs/heads/master | 2021-01-11T02:08:47.262539 | 2016-04-26T19:32:00 | 2016-04-26T19:32:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 505 | rd | FuzzyData-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/class-FuzzyData.R
\docType{class}
\name{FuzzyData-class}
\alias{FuzzyData-class}
\title{Class "FuzzyData"}
\description{
An S4 class to represent fuzzy data.
}
\section{Slots}{
\describe{
\item{\code{fnMin}}{A numeric vector of m... |
baa16e88cfb467a4c55e00c0570e05ba5568ab12 | 824870afd8a85f46191f8186c93304bd136953a6 | /honeybee_genotype_pipeline/src/plot_ihist.R | 91e28100c5a823114624a38b990f22511ab7493f | [] | no_license | TomHarrop/honeybee-genotype-pipeline | 9147a8cfe244774e61cc722f31bf250822bd183f | 3659985ee9da390b97c026c827e867db8e8e00ff | refs/heads/master | 2021-07-24T17:48:44.139225 | 2021-07-13T05:23:35 | 2021-07-13T05:23:35 | 223,312,849 | 1 | 0 | null | 2021-07-13T03:27:36 | 2019-11-22T03:06:27 | Python | UTF-8 | R | false | false | 1,716 | r | plot_ihist.R | #!/usr/bin/env Rscript
log <- file(snakemake@log[[1]],
open = "wt")
sink(log, type = "message")
sink(log, type = "output", append = TRUE)
library(data.table)
library(ggplot2)
ReadIhist <- function(ihist_file){
fread(ihist_file, skip = 5)[`#InsertSize` <= 1000]
}
CalculateMeanInsert <- function(ihist... |
0fb665eb8e343b6a66c8aa8d26cf7e85960119dd | d54283af0417b2becacca47695675fa3ee5c0c44 | /StrokelitudeScripts/TorquePlotting.R | a048c7e377dbce2a2a7d8546331d8b7d8dacc0f9 | [] | no_license | chiser/Strokelitude-Scripts | e56f55e4ae94d91ac99c70cb0a1567ff0bb0ee92 | 26e9e032b6493158a7277f561fba02d015b58a8b | refs/heads/master | 2021-01-21T11:23:24.036707 | 2018-03-22T14:43:10 | 2018-03-22T14:43:10 | 83,563,779 | 0 | 0 | null | 2018-04-20T09:38:36 | 2017-03-01T14:31:24 | R | ISO-8859-2 | R | false | false | 1,236 | r | TorquePlotting.R | ######################## A script for plotting data from torque measurements
## source the functions needed
source("StrokePrepFunctions.R")
tTraces <- flyTorqueImport()
## query the user for start and end seconds for the excerpts
print("Please enter the starting time for the excerpts.")
startTime <- scan(n=1)
print(... |
dcafdace2491346adaacc08dc9a64ea234324dbd | b64398eadec00f607b14e292902d54af86b9b2ec | /man/threeDto4D.Rd | da76ac0ac4b99a1ac3a4282290320e7df68463d8 | [] | no_license | cran/AnalyzeFMRI | 431716af6c17c402db4039cac1bd81fd713b95b7 | 5d93ebbaef6207664d08520fe4312001bcedfaf3 | refs/heads/master | 2021-10-13T02:15:03.174993 | 2021-10-05T12:40:02 | 2021-10-05T12:40:02 | 17,691,681 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,752 | rd | threeDto4D.Rd | \name{threeDto4D}
\alias{threeDto4D}
\title{threeDto4D}
\description{To read tm functionnal images files in ANALYZE or NIFTI format,
and concatenate them to obtain one 4D image file in Analyze (hdr/img
pair) or Nifti format (hdr/img pair or single nii) which is written on
disk. Note that this function outputs the... |
cb269e7022b09df3808f7ff5e4c7f4368c51ecf4 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/12758_0/rinput.R | 4d0092328500370df39924c69c030007e3ecf411 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 137 | r | rinput.R | library(ape)
testtree <- read.tree("12758_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="12758_0_unrooted.txt") |
e972be69d83fb65f0580f89ce972f65e836e3ebc | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/PerformanceAnalytics/examples/mean.geometric.Rd.R | 92bd449d3040702a392db61aeb367595515fd58a | [] | 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 | 478 | r | mean.geometric.Rd.R | library(PerformanceAnalytics)
### Name: mean.geometric
### Title: calculate attributes relative to the mean of the observation
### series given, including geometric, stderr, LCL and UCL
### Aliases: mean.geometric mean.utils mean.UCL mean.LCL mean.stderr
### mean.stderr mean.LCL mean.UCL
### ** Examples
data(e... |
e2dc03e97e5a7c8b37808535af44c8f2d3f04029 | db1ea206b2ae975ddb0d74af9f6df9a05e994e03 | /R_grambank/unusualness/processing/assigning_AUTOTYP_areas.R | e895600c8c15fbeda450a1ab506caffa21f577f7 | [] | no_license | grambank/grambank-analysed | 1b859b5b25abb2e7755421b65a63bef96dfc8114 | 47d54c9fe82c2380d3c89042fd9f477aa117e044 | refs/heads/main | 2023-06-28T20:00:59.261977 | 2023-06-07T17:04:28 | 2023-06-07T17:04:28 | 397,491,052 | 3 | 0 | null | 2023-04-21T13:32:55 | 2021-08-18T06:04:03 | R | UTF-8 | R | false | false | 3,117 | r | assigning_AUTOTYP_areas.R | source("global_variables.R")
source("fun_def_h_load.R")
h_load(c("fields", "tidyverse"))
#Script written by Hedvig Skirgård
cat("Matching all languages in Grambank to an AUTOTYP-area.\n")
#combining the tables languages and values from glottolog_df-cldf into one wide dataframe.
#this can be replaced with any list of... |
3826f099f23f8741729178d85b3c406baa19ceb1 | bcc5dab59e4229eb26dc7f2e24b5964d97aa4840 | /Duke-Data Analysis/Lab3a.R | ef283326e954dd5b636c8b3bf119f89fa9bdbec2 | [] | no_license | JPruitt/Coursera | 87d3d273bce00d143769f6c8070c9a2163a568fd | 339873ff1036b4a1d52f6cca5001b4d9670f374d | refs/heads/master | 2021-01-01T19:42:50.471049 | 2014-05-09T11:00:20 | 2014-05-09T11:00:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,897 | r | Lab3a.R | load(url("http://s3.amazonaws.com/assets.datacamp.com/course/dasi/ames.RData"))
head(ames)
names(ames)
dim(ames)
area<-ames$Gr.Liv.Area
price<-ames$SalePrice
summary(area)
hist(area)
samp0<-sample(area, 50)
hist(samp0)
samp1<-sample(area, 50)
hist(samp1)
mean(samp1)
# The vector 'sample_means50' is initialized w... |
c607cd751de1a57c4ff1d3634dcb3030d67bcd8c | 2fb36e3d133cf9dd19061376071125bdb22ee7f1 | /Graph generators/ROCdraw.R | 78bdfc68155bcb3aec75e1e92356b58281ae8cfc | [] | no_license | DebolinaHalderLina/CRISPRpred_plus_plus | 3b143680798893fe49ddf556d6485fb9f6405007 | 5b4314294be170735ebdcb9c5984092d3483311d | refs/heads/master | 2020-03-27T13:49:00.017969 | 2018-08-29T17:07:48 | 2018-08-29T17:07:48 | 146,610,675 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,097 | r | ROCdraw.R | library(ROCR)
#data(ROCR.simple)
#newob1= read.csv(file.choose())
#newob2= read.csv(file.choose())
#newob3= read.csv(file.choose())
#newob4= read.csv(file.choose())
#newob5= read.csv(file.choose())
#observed = read.csv(file.choose())
preds <- cbind(p1 = newob1$x, p1 = newob2$x, p1 = newob3$x,p1 = newob4$x,p... |
44c2cbfd41c5bad862befb2f2df6e91ef52025e4 | c981caf103a3540f7964e6c41a56ca34d67732c4 | /R/ma.wtd.quantileNA.R | aa09fb7d78b4679ccf7a7918a2e1defdcb522195 | [] | no_license | alexanderrobitzsch/miceadds | 8285b8c98c2563c2c04209d74af6432ce94340ee | faab4efffa36230335bfb1603078da2253d29566 | refs/heads/master | 2023-03-07T02:53:26.480028 | 2023-03-01T16:26:31 | 2023-03-01T16:26:31 | 95,305,394 | 17 | 2 | null | 2018-05-31T11:41:51 | 2017-06-24T15:16:57 | R | UTF-8 | R | false | false | 943 | r | ma.wtd.quantileNA.R | ## File Name: ma.wtd.quantileNA.R
## File Version: 0.14
#*** weighted quantile
ma.wtd.quantileNA <- function( data, weights=NULL, vars=NULL,
type=7, probs=seq(0,1,.25) )
{
require_namespace("TAM")
#*** pre-processing
res <- ma_wtd_stat_prepare_data(data=data, weights=weights, vars=vars )
... |
532d47f38b42edaf97fd3bf6766d3f011baf8bb2 | 8bcf0871c60390d112f651094b41079708829d07 | /man/prep.houses.Rd | 494fbf408fcae51c910cc96e87c6c6d041a8f485 | [] | no_license | cran/lancet.iraqmortality | 018b361d3df3a7176fabd35841d99eda52ae4b6f | 9b707b59e4f5f82b559405e3473c6f9b9c859e34 | refs/heads/master | 2016-08-05T01:49:10.146125 | 2007-06-20T00:00:00 | 2007-06-20T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 693 | rd | prep.houses.Rd | \name{prep.houses}
\alias{prep.houses}
\title{Loads up houses dataset from the mortality.zip file}
\description{
Returns a data frame containing renamed and cleaned up variables of the
'houses' from the provided mortality.zip file in the data directory.
See the package vignette for a description of these variables. I... |
a4a098bc8e27aae520a3e71c5dfea2f7b6cd64fe | 665b491ee5cc3af40c02a49e9ac6277a5eeaca02 | /playground/pruning.r | db2721e9ea28c9db8c565f6b05129927b54b6701 | [
"MIT"
] | permissive | USCbiostats/aphylo | 49ac5286c5b69350b85d11a4d23dc7422ef3c26c | 0a2f61558723c3a3db95e7f5b4e5edc4bf87a368 | refs/heads/master | 2023-08-16T19:57:29.976058 | 2023-08-09T20:20:32 | 2023-08-09T20:20:32 | 77,094,049 | 10 | 1 | NOASSERTION | 2020-06-07T02:24:17 | 2016-12-21T23:37:46 | R | UTF-8 | R | false | false | 3,566 | r | pruning.r | #' Given that we want to remove a set of \eq{l \subset L}, the algorithm goes as
#' follows:
#'
#' 1. Match the node ids with position.
#' 2. Sort it to be decreasing, so the most inner nodes show first,
#' 3. Increase the list:
#' a. Compute the geodesic matrix G,
#' b. For i in l do, j != i:
#' If G(i,j)!=0,... |
573a8e3f8993cdd64917101c09b4fdbba029f293 | cd3200268fcde9acc2728146f74be6356e1a0859 | /scripts/voxceleb.R | d6cc8b82de04271c8ec0f897c35efc7f56f763b0 | [] | no_license | cdo03c/Audio_Age_Classifier | 116008a905b0a7cb6919385c94b060a0d9e64c70 | 78bd018c5c8cf8063121e8f495cf55c52db746cf | refs/heads/master | 2020-03-13T18:12:23.701493 | 2018-04-27T01:54:02 | 2018-04-27T01:54:02 | 131,231,527 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,072 | r | voxceleb.R | #Set working directory
setwd("~/Documents/Github/Audio_Age_Classifier")
# Clear workspace
rm(list=ls())
#Load packages
library(rvest)
#Tests if data is downloaded and download if it doesn't exist
if(!file.exists("./data/voxceleb.zip")){download.file(url = "http://www.robots.ox.ac.uk/~vgg/data/voxceleb/voxceleb1.zip"... |
f80369bf95b01ad24608decbe2ba792259d029c2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/spatial.gev.bma/examples/spatial.gev.bma.Rd.R | 6c41db68623e105737122354734e5ccf9976fbf3 | [] | 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 | 366 | r | spatial.gev.bma.Rd.R | library(spatial.gev.bma)
### Name: spatial.gev.bma
### Title: Run an MCMC to fit a hierarchical spatial generalized extreme
### value (GEV) model with the option for Bayesian model averaging (BMA)
### Aliases: spatial.gev.bma
### ** Examples
data(norway)
attach(norway)
##To replicate our results, change 2 to 2e5 ... |
104d1f46210dfd827d688bbdcf2a71c1e11da5e9 | 5ca23ae12036731c20f2c1af00e71a5c00d9a5de | /lib/functions.R | d3926b3256187f6ba45d0b4e1a6bfa41437108d3 | [] | no_license | joebrew/controlflu2016 | 6a8343edd40cab88f370359bf1254e71f45f35f1 | 8fe7bad454de0353c5c798f640dd14ef1d2b47c9 | refs/heads/master | 2021-01-20T18:33:39.383334 | 2016-09-20T21:47:39 | 2016-09-20T21:47:39 | 63,759,581 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,798 | r | functions.R | # Read and clean absenteeism data
read_and_clean_absenteeism_data <- function(file = 'data/scrubbed_data_for_joe_correct_ids.csv'){
# Package requirements
require(readr)
require(plyr)
require(dplyr)
# Read file
# df <- read_csv(file)
df <- read.csv(file)
# Clean up grade
df$grade[df$grade ... |
e4758ba8cbb2a3a2585105c50e96b3568f0dabb5 | c653aa4d1b83e9f31450a0ebe1eb809de5e46e1e | /Ex5/ex5_3.r | 2b8486a2fb0a73e4c25fc15d615a30125f8b7949 | [
"MIT"
] | permissive | BioYLiu/ml_bioinformatics | 5bbaebf35af68e1408bd2df062d2d61da6381474 | 2ff4962767a9cfe206620f1fc870839e249dde96 | refs/heads/master | 2020-05-23T11:12:55.657940 | 2016-07-10T23:38:17 | 2016-07-10T23:38:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,178 | r | ex5_3.r | # Group members (Name, Student ID, E-Mail):
# 1. Baldomero Valdez, Valenzuela, 2905175, baldmer.w@gmail.com
# 2. Omar Trinidad Gutierrez Mendez, 2850441, omar.vpa@gmail.com
# 3. Shinho Kang, 2890169, wis.shinho.kang@gmail.com
data(iris)
# shuffle the dataset and get training and test dataset
shuffled.iris <- iris[s... |
443628460e2aebfbc8a9cddd6c34d687b1b478db | 4af1baeb8bd7ca845beb983fcf7c662ab5df6d7e | /MarketBasket_Recommender.R | ba9670ba6fd19f6bbd0abdde28e83447e70d5125 | [] | no_license | santiagovama/R | 54a52cebae1d36ddbabb3080205fbf2fe8b7b956 | c12cd9b9de4e7a8888386c20ce64a1a481327766 | refs/heads/master | 2023-08-17T06:27:32.434463 | 2021-10-02T15:01:05 | 2021-10-02T15:01:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,954 | r | MarketBasket_Recommender.R | # Association Rules for Market Basket Analysis (R)
# http://rpubs.com/Adhislacy/281337
# https://github.com/krupanss/Market-Basket-Analysis-R/blob/master/MarketBasketAnalysis.Rmd
# https://educationalresearchtechniques.com/2016/08/01/market-basket-analysis-in-r/
# http://www.rpubs.com/Mughundhan/268460 -> use this... |
e8d55645923624366cd610d80e68b609b29b2362 | 463a55894d24fb80effc1957dc04b9db8d9d9686 | /plot1.R | 7ed9a7a33df2b4c17ca93d6629722c3f6dc8ab3c | [] | no_license | avishekbasak/ExData_Plotting1 | b1d2b0c42b74094357cefe6fd374084aaa914845 | 52ef30935e72d8c1c7dddcffd4d3d5fcd12a817b | refs/heads/master | 2021-06-19T20:57:43.380213 | 2017-07-29T04:50:38 | 2017-07-29T04:50:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,181 | r | plot1.R | file.Name <- "household_power_consumption.txt"
file.path <- "~/R_Workspace/exploratory/ExData_Plotting1/"
#downlad and unzip file, if file doesn't exist
file.full <- paste(file.path,file.Name, sep="")
if(!file.exists(file.full)){
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_powe... |
5ff9b20aafe62251b68ba3a9058df97a532c96d7 | 953c191533cbcc52d39d3e640aa460af71706440 | /code/ggplot.R | 005adb15c3b628febef252376748f202fd483074 | [] | no_license | frugeles/hackathon2017 | 23b666b9fc18064b2f58bfc60339f80ce2434bf1 | e1081064664fdf568e65707b49c1356a1db9c53f | refs/heads/master | 2021-08-15T04:03:31.180279 | 2017-11-17T09:46:39 | 2017-11-17T09:46:39 | 110,962,128 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,448 | r | ggplot.R | #### Libraries ####
library(ggplot2)
library(RColorBrewer)
library(dplyr)
library(rgdal)
library(rgeos)
library(leaflet)
library(ggmap)
library(sp)
#### Leaflet ####
data_path = './data/'
load(paste0(data_path,'calls_Final.RData'))
nb_calls_district <- calls_Final %>%
group_by(districtID) %>%
summarise(co... |
cb235d2813c9a7160fde9f1c0056a02adefb3de8 | 050854230a7cead95b117237c43e1c8ff1bddcaa | /man/comb_output_table.Rd | 75f420b6740b8742bf25a920aa7f1138ca349d27 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain-disclaimer"
] | permissive | USGS-R/mda.lakes | 7b829d347e711416cbadbf50f8ac52c20546e7bc | eba6ddfba4d52c74e7b09fb1222772630dfa7f30 | refs/heads/main | 2023-04-15T18:10:46.043228 | 2020-11-13T18:43:09 | 2020-11-13T18:43:09 | 7,429,212 | 1 | 11 | null | 2023-04-07T22:44:55 | 2013-01-03T19:50:59 | R | UTF-8 | R | false | true | 599 | rd | comb_output_table.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/comb_output_table.R
\name{comb_output_table}
\alias{comb_output_table}
\title{Combine file-based table output}
\usage{
comb_output_table(pattern, ...)
}
\arguments{
\item{pattern}{Pattern to be passed to \code{\link{Sys.glob}}}
\item{...}{Ad... |
2fa87c6c42fc5dc1e3087a8ee7c15e5cf4211aa7 | 6eff13f8c2534f5bf21ddab72f3c9683fe06e3f9 | /Clustering/Heirachical/2_hierarch_cluster_vehicals.R | 9f823b0d284df842363129072f723fe984d91b54 | [] | no_license | ashukumar12d/ML-with-R | 5d76829aacd2a4fbf56bc897f5d1e32133acc4c7 | 0921f23a20d85fbfb8b5b7599856e7a80ff6344a | refs/heads/master | 2021-05-10T09:02:40.261810 | 2018-01-25T12:53:32 | 2018-01-25T12:53:32 | 118,912,047 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 439 | r | 2_hierarch_cluster_vehicals.R |
# To illustrate interpretation of the dendogram, we'll look at a cluster analysis
# performed on a set of cars.
head(mtcars)
# Find the distance matrix
d <- dist(as.matrix(mtcars)) # find distance matrix
print(d)
# apply hirarchical clustering - The hclust function in R
# uses the complete linkage method for... |
76747d3a407c36a995fdeee8d934df834b6f1b86 | db4f04ed79dfa815c2e5a3e30c8845e12c043008 | /snippets/R/trackingCode.R | 83742a3811eed61fcb30e13f7ce3051b71bae469 | [
"Apache-2.0"
] | permissive | kmader/TIPL | 34d5374a1fe294ffa4e4f7f7fe9b0c34aa7c89c7 | 671c07eecbf7ba9f0388735326b55359c17abb92 | refs/heads/maven | 2022-12-10T06:45:37.263475 | 2020-02-11T08:05:46 | 2020-02-11T08:05:46 | 140,686,379 | 1 | 3 | Apache-2.0 | 2022-12-08T16:49:09 | 2018-07-12T08:44:14 | Java | UTF-8 | R | false | false | 22,270 | r | trackingCode.R | library(plyr)
compare.foam<-function(cDir,goldFile='glpor_1.csv',kevinFile='clpor_2.csv') {
kbubs<-read.csv(paste(cDir,kevinFile,sep='/'),skip=1)
gbubs<-read.csv(paste(cDir,goldFile,sep='/'),skip=1)
gbubs<-compare.foam.clean(gbubs)
kbubs<-compare.foam.clean(kbubs)
compare.frames(gbubs,kbubs)
}
# calculate ... |
ab1d1a944229a5ff5b41a73d27638df4ca9334ae | eedafd67512fc0146ee0d9d2910764978f541802 | /man/logistic_reg_adj_diff.Rd | abd6505d1be1d573a0a7ae4f799e241193a28ad7 | [
"MIT"
] | permissive | MSKCC-Epi-Bio/bstfun | e1e3925278d3f18ab62501bdc5930b4d2b768dd4 | 532465ec4a7097d8cf2e4aea50f0add44f361320 | refs/heads/main | 2023-06-27T13:02:47.872731 | 2023-06-26T18:04:43 | 2023-06-26T18:04:43 | 237,299,694 | 7 | 3 | NOASSERTION | 2023-06-26T18:04:45 | 2020-01-30T20:30:30 | R | UTF-8 | R | false | true | 3,030 | rd | logistic_reg_adj_diff.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/logistic_reg_adj_diff.R
\name{logistic_reg_adj_diff}
\alias{logistic_reg_adj_diff}
\title{Logistic regression adjusted differences}
\usage{
logistic_reg_adj_diff(
data,
variable,
by,
adj.vars,
conf.level,
type,
ci_type = c("sd",... |
b57a5e675773f3b7b5e70d42c1e06135bb19eda9 | d4aa21b1c7e32f971ec0db948d2ea41057d9a7b3 | /case_study.R | 710168450f8975f0238fafcf6e1105f0dfea0122 | [] | no_license | grepJimmyGu/Machine-Learning | c290506505d746174e9ea06aef03685c3fb3ac2b | 20f4c6b8336ea21d8140d8f7a7c6e5d347933448 | refs/heads/master | 2021-01-19T19:36:07.610594 | 2014-04-20T22:15:56 | 2014-04-20T22:15:56 | 17,353,113 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,090 | r | case_study.R |
# General Data Analysis
data <- read.csv("general_data.csv", header=TRUE, sep = ";")
# Profit Per Click
data["PRP"] <- (data["Revenue"]-data["Spend"])/data["Clicks"]
# Revenue per order
data["RPO"] <- data["Revenue"]/data["Orders"]
# Correlation
library(corrplot)
part <- cbind(data[,2],data[,3],data[,6],data[,9])
col... |
f90e4276b9dbf7fd37a331403f06d1b7ee3b1c15 | 56b1818d99acdfeacc15122d0b996ca7e9e24089 | /R/data.check.r | 0ba713c049f42b0c688255c9efa83a6bc609339a | [] | no_license | ccamp83/kinesis | efa3a7d96d23e75c53a843cb74bd5627699bd945 | eff6e62f45fedcd7fc6cc8000845b8bdd35608bc | refs/heads/master | 2023-09-04T07:56:43.440448 | 2023-08-19T20:29:58 | 2023-08-19T20:29:58 | 124,016,252 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,114 | r | data.check.r | #' Check the data file and provide fixes if available
#' @param dataset an object of the type data.frame
#' @param refreshRate the refresh rate used during the motion capture (in hertz)
#' @param time.unit the unit of measurement in which time is expressed in the 'time' column of the dataset given to the function. 1 = ... |
1a22a8e498149ef4a6a44c31066dfe02801efbfd | 2786dab27b0fd4a7651985c56ee5756fae5fe437 | /Mockup/r/win-library/3.5/emov/analysis/analysis.R | 152a75814c10119c83cd07e5e61e66f287696f5e | [] | no_license | Praedo4/The-Eye-Tracking-Interface | 7bc167878ff7eb2d0bc4b1fadf3bb532a82c229b | 7db22494fccedc4f87bfdc4eff2dfce9b19b4d22 | refs/heads/master | 2021-04-30T02:13:42.373303 | 2018-08-20T14:46:45 | 2018-08-20T14:46:45 | 121,497,628 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,064 | r | analysis.R | # sample analysis of eye movement data using emov in R
# by Simon Schwab
library(calibrate) # textxy
setwd("~/Work/code/emov/pkg/R")
source("emov.R")
# install.packages("circular")
#library("circular")
# read raw data file
data = emov.read_iviewsamples(
"~/Data/nscenes/natural_scenes_samples.txt", 46)
# handle mis... |
af5049a5119ffe30ef459997f3de85585a417931 | 7c8e977bcd7e4a68c908343d1eda902726c37262 | /Rlib/format.cbs.R | 93dd86e3ac9b408ea54a1cbccf4017df50df6799 | [] | no_license | gideonite/cn_pipeline | 8c6352005499a3b0a34df7e817aab9cd2cda16b1 | 89291340a1243589e98e1a4deab43a8d02d05717 | refs/heads/master | 2021-01-22T11:37:00.983072 | 2013-03-15T16:29:10 | 2013-03-15T16:29:10 | 6,833,427 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,660 | r | format.cbs.R | #Set up input files
#Input is
#cbs.output - the standard output from running CBS
#segments.p.output - the output from running segments.p
#outputfile - name of output file from running format.cbs
#header - whether the first line in the output should be the column names
format.cbs <- function(cbs.output,segments.p.outpu... |
c5d4a24b04e8deb21a1f64abab6fb44e2139db36 | efa74f16941c8b503d174d124eeff630219f38a3 | /functions_R/F02_HelperFunctions.R | e1c843abfe4eadc470adc665907a229ceada1d82 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ong8181/eDNA-early-pooling | 1cabf8d27c1e52f28eed74fa8525de2265e5a754 | 6d5a3bcac691dac0347c151f94801b8595fbb5d6 | refs/heads/main | 2023-04-12T01:41:02.715960 | 2022-07-01T00:25:20 | 2022-07-01T00:25:20 | 458,195,380 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,703 | r | F02_HelperFunctions.R | ####
#### F02. Figure Helper functions
####
# taxa name summarize function
taxa_name_summarize <- function(ps_object, taxa_rank, top_taxa_n = 10, taxa_always_include = NULL){
tax_df <- as.data.frame(tax_table(ps_object))
if(is.null(tax_df$rep_tax)) tax_df$rep_tax <- "Undetermined"
# Search Others and Undetermin... |
f8b9615f4e2c68bf2d86b6de96f20c105b057236 | 09c5ab6b8f885f31d437b846bba1508dc6e2d7db | /source.R | 510a52e3a16af8ebbc5e5483048505750fc4ce92 | [] | no_license | raphaelgall/nobelprizestats | b0fdc237f87096f6a2305a77a25b34c6b6ed8b78 | 4b6ca5f12e5077203c633147551d92ba9fe0ece8 | refs/heads/master | 2020-07-25T12:51:41.043879 | 2020-02-14T15:37:01 | 2020-02-14T15:37:01 | 67,025,624 | 0 | 1 | null | 2016-09-05T11:07:35 | 2016-08-31T09:55:32 | HTML | UTF-8 | R | false | false | 3,423 | r | source.R | #nobelprize analysis with statistical techniques.
#explorative analysis, including machine learning, quantitative text analysis.
#source file
#libraries, installed only once.
#neededpackages <- c("tm", "SnowballCC", "RColorBrewer", "ggplot2", "wordcloud", "biclust", "cluster", "igraph", "fpc", "psych", "ggvis")... |
68278b2bbefccd43702bd1e69d4a5130834a6350 | 9c8962826b6125045ec4f93cab879bc26c9f9a59 | /mse/03-run-sra-2sim.R | b0f6291eea91bf080f840b7e15a9e2a53d6dd08b | [] | no_license | pbs-assess/yelloweye-inside | c00c61e3764b48e17af3c10b7ddf7f5b5ff58d16 | 8ea4a374f3cee21e515a82627d87d44e67228814 | refs/heads/master | 2022-08-19T05:15:03.352305 | 2022-08-15T23:51:36 | 2022-08-15T23:51:36 | 219,026,971 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 13,128 | r | 03-run-sra-2sim.R | cores <- parallel::detectCores() / 2
library(MSEtool)
############ Condition operating models with SRA_scope and data
SRA_data <- readRDS("mse/scoping/SRA_data.rds")
data_names <- c("Chist", "Index", "I_sd", "I_type", "length_bin", "s_CAA", "CAA", "CAL", "I_units")
data_ind <- match(data_names, names(SRA_data))
OM_co... |
2b9e7778b19591382c1247a740cd01817193d24e | 65cd986ba44482281761b8fed4028f87ebebcd12 | /to be deleted/share_allocation/3_ctrfact_sim_reformat.r | e9de0fd7f7aafcc04966b6557a4c91838aab6b24 | [] | no_license | Superet/Expenditure | 07efeb48f700bec71bb1d1b380476dddceae76ee | f6e1655517b65106ea775768e935e94efa73dbaa | refs/heads/master | 2021-07-14T18:09:50.415191 | 2020-06-01T19:54:30 | 2020-06-01T19:54:30 | 38,344,163 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,843 | r | 3_ctrfact_sim_reformat.r | library(ggplot2)
library(reshape2)
library(Rcpp)
library(RcppArmadillo)
library(maxLik)
library(evd)
library(data.table)
library(doParallel)
library(foreach)
# library(chebpol)
library(nloptr)
library(mgcv)
options(error = quote({dump.frames(to.file = TRUE)}))
seg_id <- as.numeric(Sys.getenv("PBS_ARRAY_INDEX"))
cat("s... |
75220a794ffcd35a6782b19423a1da88139e6f96 | e051cfb06eb74bc41448c523df8930f38d20aac6 | /man/countReads-methods.Rd | 61d9a157e7b6ac7a1187d661b0d37b009b31bc98 | [] | no_license | duydnguyen/tan-coverage | 6ed78bb23adc9554d6b17296657a67592cdf68af | 2aa9f8b9c4da7dbaa7f464b42dfa2b46db8a874f | refs/heads/master | 2021-06-16T17:01:38.450390 | 2017-06-01T15:37:02 | 2017-06-01T15:37:02 | 93,070,691 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 609 | rd | countReads-methods.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllGenerics.R, R/methods-segvis.R
\docType{methods}
\name{countReads}
\alias{countReads}
\alias{countReads,segvis-method}
\alias{countReads}
\title{countReads method for segvis class}
\usage{
countReads(object)
\S4method{countReads}{segvis}(... |
dd05daae026308b7818dfa28d5b3402540ef4a77 | 370b017a04a617ddaf948052bfab29d1d5452fb5 | /Exploratory_EBC.R | c2cd362098598c553fafc0f06ad6356d21ff6e51 | [] | no_license | DrMattG/ES_Conservation | 221dd6fb2877e89cdc6261c29573dfead62939ac | c142b047689d94bf0333d9d3c76301ee117e0609 | refs/heads/master | 2022-11-24T13:32:25.528600 | 2020-08-04T09:28:36 | 2020-08-04T09:28:36 | 284,936,444 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,899 | r | Exploratory_EBC.R | #Results: 557
#(from Web of Science Core Collection)
#You searched for: TOPIC: ("evidence-based" "conservation")
#Refined by: WEB OF SCIENCE CATEGORIES: ( ECOLOGY OR ENVIRONMENTAL SCIENCES OR BIODIVERSITY CONSERVATION OR ENVIRONMENTAL STUDIES OR ZOOLOGY )
#Timespan: All years. Indexes: SCI-EXPANDED, SSCI, A&HCI, ESCI... |
19c2854bcfd254a29ce572d9612467ff2c3fb855 | cbf79fbcb32d9d13dd5b7ef258fc98b424a9c61b | /src/shuffle_gtf.R | 89c0322acbf6df61f7ac682ce57e4084d56f7401 | [] | no_license | TomHarrop/5acc | 5a15ad07f1527f880904752a2582b1f569761686 | 3b2b443ec9344b8967e582be666e85a5c56afd84 | refs/heads/master | 2021-01-03T13:22:26.812766 | 2019-07-30T05:28:49 | 2019-07-30T05:28:49 | 38,441,066 | 2 | 0 | null | 2018-09-19T22:47:19 | 2015-07-02T15:34:39 | R | UTF-8 | R | false | false | 6,077 | r | shuffle_gtf.R | #!/usr/bin/env Rscript
library(data.table)
library(dplyr)
library(GenomicRanges)
library(rtracklayer)
library(valr)
###########
# GLOBALS #
###########
os_gff_file <- snakemake@input[["os_gff_file"]]
os_gtf_file <- snakemake@input[["os_gtf_file"]]
seqlengths_file <- snakemake@input[["seqlengths_file"]]
irgsp_gff_fil... |
fa88d3938e747a45c2a027e2bf3393fc10c1f660 | 761f685716e4707544dfa397160bced4f683f512 | /archive/rna-seq_three_lab.R | c7bd6c2c18b1bede81a2485531e9cba6a4694e2d | [
"MIT"
] | permissive | Zhang-lab/RNA-seq_QC_analysis | 69c1849c345324d68463b490f955c6b7cf1965f2 | 8a193be3b2046b25a23d6d4123b7fbf424adc97d | refs/heads/master | 2021-06-05T01:39:20.511643 | 2021-04-23T15:32:13 | 2021-04-23T15:32:13 | 113,912,760 | 3 | 9 | null | null | null | null | UTF-8 | R | false | false | 5,186 | r | rna-seq_three_lab.R | library("DESeq2")
# load count matrix######################################################################################################################
setwd("/Users/chengl/Desktop/")
Bartolomei=read.table("Bartolomei.txt",header=T,sep="\t")
Dolinoy=read.table("Dolinoy.txt",header=T,sep="\t")
Mutlu=read.table("Mut... |
45df8c72c8464df49d3b8dfb5ecf8a67c03eb27c | 24ec28988913ab689df0553e8492757d4f1f383a | /R/davidScoreLA.R | 2258f96240ef749a98b9e5fa33dd614173adc9a7 | [] | no_license | nmmarquez/linHierarchy | bb0222ec8563a490609b90cebe339fa3d3fd6c2e | 97a27cec497d301a70c46c156ff7b2783de97ecf | refs/heads/master | 2021-01-10T19:15:22.915490 | 2015-03-03T08:44:14 | 2015-03-03T08:44:14 | 19,612,549 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,025 | r | davidScoreLA.R | #' Calculate the David's Score of players
#'
#' Calculates the David's Score of players in an "interData" object.
#' @param intData object of class "interData" to calculate scores.
#' @param corrected specify wether to use David's adjustment for chance.
#' @param normalized specify wether to use a normalizing factor d... |
785f5a9a33738d1fe77c37848acb3b4cf247e814 | f8601db2cf70d2282c889ac21f213b3e62c3658f | /Code/06_Hunt_Prey_Kg_to_Kcal.R | 58277ff0b4ce91dd8f348278b1f11eebafab9b34 | [] | no_license | PacheCoLuis/ethnodogs | 91b0e085925075013f081a58ed140dfc404a7c4b | eb454823a8146f133932b4d7e57d3fd49d664cc1 | refs/heads/main | 2023-03-06T00:12:59.452765 | 2021-02-17T05:35:28 | 2021-02-17T05:35:28 | 312,133,468 | 0 | 0 | null | 2020-11-12T02:31:57 | 2020-11-12T01:20:10 | R | UTF-8 | R | false | false | 23,168 | r | 06_Hunt_Prey_Kg_to_Kcal.R | # SUBSISTENCE HUNTING PREY KG TO KCAL #######################
source("05_Subsist_Hunt_Sample.R")
# Table 4: Prey captures recorded during fieldwork + Harvest (kg to kcal) #######
# Switch to longitudinal format, to deal with serial prey catches [1-5]
prey.all <- reshape(harv_succ, varying=list(prey=c("Prey.Catch","Pr... |
f4f1e1d59bcf7a3636a5a2a8c907a90fe428f307 | de7c4927217fe4266a5e97fc69633a437a25f06e | /src/5.1.SingleSample_Neu.R | 72f627ce34e184fd5c27b599c91750e61ad94053 | [
"MIT"
] | permissive | elifesciences-publications/BreastCancer_SingleCell | 38a0a802b56c2b3ddf3c798778998da8a28573d8 | 619586208d4d92c3bac12b89b097ed665bf9ed71 | refs/heads/master | 2022-12-03T00:15:06.596247 | 2020-08-17T15:17:35 | 2020-08-17T15:17:35 | 288,213,663 | 3 | 1 | null | 2020-08-17T15:15:38 | 2020-08-17T15:15:38 | null | UTF-8 | R | false | false | 15,863 | r | 5.1.SingleSample_Neu.R | library(scran)
library(dplyr)
library(Rtsne)
library(plyr)
library(BiocSingular)
library(scater)
library(batchelor)
dataList <- readRDS("../data/Robjects/ExpressionList_QC.rds")
m <- dataList[[1]]
pD <- dataList[[2]]
fD <- dataList[[3]]
rm(dataList)
pD$Replicate <- mapvalues(pD$SampleID, c("BRCA1_A","BR... |
66680f5f6a5c1a968078d5cf205390fe17cce858 | 3ad8b5f48b75f88338c8a50fc5ffdeebca9e8081 | /analysis.r | 828d149ce699fcc1efeb2bac0370438833c8b0b7 | [] | no_license | mnunes/IMDb | 13ffacf00339c7dbc0c1111977b40b937a83af93 | c3c34bddf818d283f164b29543cc2d2ba8dc3e81 | refs/heads/master | 2021-06-22T19:30:05.636927 | 2017-08-19T22:47:53 | 2017-08-19T22:47:53 | 40,671,881 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,771 | r | analysis.r | setwd("~/Documents/Lectures/UFRN/EST0113 - Introdução à Estatística e Probabilidade/Material/Unidade II/04 - Análises Gerais/")
library(ggplot2)
library(dplyr)
###################
### Game of Thrones
# ler e combinar os dados
got.season <- scan(file="got.season.dat")
got.episode <- scan(file="got.episode.dat")
got... |
1db3a0391b36a69f5fd5e2e5557a8f7ca0974fd7 | b8236fb6a92f2f34e254fc1d0a92833e2ac7e952 | /pkg/R/plotCatCol.R | f7d5008726cf3f2074e4199ee2aaa6b7b3371d24 | [] | no_license | mxc19912008/tabplot | 0054761ba8e2edfb75b09bc49bec3e2c781e19c1 | df979f12323dafe27731381329114e96b7553be8 | refs/heads/master | 2020-06-16T19:51:21.619864 | 2016-11-02T16:35:51 | 2016-11-02T16:35:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,094 | r | plotCatCol.R | plotCatCol <- function(tCol, tab, vpTitle, vpGraph, vpLegend, max_print_levels, text_NA, legend.lines, compare){
midspace <- .05
drawContours <- TRUE
anyNA <- tail(tCol$categories, 1)=="missing"
categories <- tCol$categories
if (anyNA) categories <- categories[-length(categories)]
nCategories <- ... |
08b97a33fbe83961ce2bf93b3ad84715b21ed8d1 | f64bc106b92095472c45346309afbc50033cc3ee | /rcode_realtor.R | 2783900a34edd1da7537cd3fd2a1c2892185f192 | [] | no_license | hannahjonesut/Realtor.com | a27c7979b3c336fe95bb45c0aae246f09b0d0083 | d13f142472d3651562a5cae846353c75a43680c5 | refs/heads/main | 2023-06-11T02:38:45.434877 | 2021-06-21T19:54:23 | 2021-06-21T19:54:23 | 378,786,867 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,041 | r | rcode_realtor.R | library(dplyr)
library(tidyverse)
library(tidyr)
library(gamlr)
library(foreach)
library(ggplot2)
library(stringr)
usa_data<- read.csv('https://raw.githubusercontent.com/hannahjonesut/Realtor.com/main/RDC_Inventory_Country_History_Assessment.csv?token=ASRSTUEJMVJZYFZFQAVYF2TAZ76HS')
metro_data <- read.csv('https://raw... |
ced1b69196bdcc8fe3683a1ae79bd8b08ac412d7 | 92befee27f82e6637c7ed377890162c9c2070ca9 | /man/data.math.Rd | 5e516d23118579066883baca3de32e736f8e3dcd | [] | no_license | alexanderrobitzsch/sirt | 38e72ec47c1d93fe60af0587db582e5c4932dafb | deaa69695c8425450fff48f0914224392c15850f | refs/heads/master | 2023-08-31T14:50:52.255747 | 2023-08-29T09:30:54 | 2023-08-29T09:30:54 | 95,306,116 | 23 | 11 | null | 2021-04-22T10:23:19 | 2017-06-24T15:29:20 | R | UTF-8 | R | false | false | 2,288 | rd | data.math.Rd | %% File Name: data.math.Rd
%% File Version: 0.15
\name{data.math}
\alias{data.math}
\docType{data}
\title{
Dataset Mathematics
}
\description{
This is an example dataset involving Mathematics items for
German fourth graders. Items are classified into several domains and
subdomains (see Section Format).
The dataset con... |
0689d3c8a479e6cd7979adc884cc2da457649eff | 401d58ce50f49caa41321ce84b77d49e1dc0ac85 | /binder/install.R | 9324532aacfd82cf4cb5e84c8aea71b96e7d241e | [] | no_license | StateOfTheR/finistR2020 | 7fcfd0106cc61c7e59a1acad932b1232a62085b3 | a514f7ebe840b57591e8168dcd64289277a02e87 | refs/heads/master | 2022-12-17T16:27:47.622897 | 2020-09-08T11:08:19 | 2020-09-08T11:08:19 | 278,055,173 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,155 | r | install.R | local({
r <- getOption("repos")
r["CRAN"] <- "https://cloud.r-project.org"
options(repos = r)
})
## non CRAN packages
remotes::install_github("https://github.com/rstudio-education/gradethis")
remotes::install_github("StateOfTheR/optimLibR")
remotes::install_github("mlverse/torch")
remotes::install_github("Chaber... |
abb3438443d7dc37602cce3f812f5a56b58cca34 | 1aa8276f7e7a20e53c7b0c3d373df7ada2bc1f9b | /flyingpigeon/Rsrc/climod/namelist.R | 38b44bdb5773b6fa9f1da002f5d05ee89148298a | [
"Apache-2.0"
] | permissive | Ouranosinc/flyingpigeon | a6605b195483684e848afbfd1dbcef7d8a3fb8eb | 657c4023e128342f380c847103e5fd78edad17db | refs/heads/master | 2021-01-11T03:58:20.808105 | 2019-08-19T17:02:47 | 2019-08-19T17:02:47 | 71,271,393 | 1 | 0 | Apache-2.0 | 2018-10-11T17:32:05 | 2016-10-18T17:02:06 | Jupyter Notebook | UTF-8 | R | false | false | 625 | r | namelist.R | ##' Construct a list with automatic names
##'
##' Constructs a lists from its arguments, automatically naming each
##' element of the list with the name of the argument.
##'
##' @param ... objects to add to the list.
##'
##' @return A list with named elements
##'
##' @examples
##' x <- 3
##' y <- "a string"
##' z <- fu... |
636436e6916b317c0d3a0230258da1e180f5c345 | 0856e5e6ee080e36e9e24f5f8f514e9229ee5a75 | /tests/testthat/test-misc.R | 504889363c995860e19f49d0a6dcd972035882e1 | [] | no_license | ncrna/DropletUtils | fd03bf42ad93ba0aec731ab781e44d99ce6ccc62 | 755a6a5b2fc0408eac50eccb88739c17d86463d2 | refs/heads/master | 2023-09-01T13:17:28.382840 | 2021-09-18T20:31:36 | 2021-09-18T20:32:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,599 | r | test-misc.R | # This checks out the barcodeRanks and defaultDrops functions.
# library(DropletUtils); library(testthat); source("test-misc.R")
# Mocking up some counts.
set.seed(100)
my.counts <- DropletUtils:::simCounts()
totals <- Matrix::colSums(my.counts)
test_that("barcodeRanks runs to completion", {
limit <- 100
brou... |
9f648eaf8293b3bb4e944f49c1caa282d4150bc7 | 21aeae41e2bb75c6a600d4ef03adb96be33dfef8 | /man/emxCovariances.Rd | e656458e71262966c70d629ef4b6bb4a7593aa56 | [] | no_license | cran/EasyMx | 32a661f4363625debfe28ec299625f70c199e516 | 5a60b1553b3a77dcc0bf6dec6064fe3b12ce2e17 | refs/heads/master | 2023-02-09T06:45:50.308496 | 2023-01-30T21:00:07 | 2023-01-30T21:00:07 | 89,990,463 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,959 | rd | emxCovariances.Rd |
\name{emxCovariances}
\alias{emxCovariances}
\title{Create a set of covariances}
\description{
This function creates a covariance matrix as an MxMatrix or MxPath object.
}
\usage{
emxCovariances(x, values, free, path=FALSE, type, name='Variances')
}
\arguments{
\item{x}{character vector. The names of the vari... |
2c9cd29e56f392329d4b6d5e2997ff4dc237bf8f | 6d70f2719893bb8cfcceeb43451d14a229bf2495 | /code/_Archive/functions/annotate_tfbs_fun.R | 4c753ba2d97be478f142b9c8831bbb49b715c3dc | [] | no_license | iamciera/synth_es2 | 7323e01790c0f0b349b851d6230e0eae4cd0a972 | 4bd0b3210cfc31ec00dab3c2c1c03220d1cf05c7 | refs/heads/master | 2021-01-19T22:16:42.560379 | 2017-04-19T16:16:54 | 2017-04-19T16:16:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 299 | r | annotate_tfbs_fun.R | function(seq,tfbs){
seqbp <- strsplit(seq, NULL)[[1]]
seqL <- length(seqbp)
#Remove known binding sites
seqTruncbp <- seqbp
for (i in 1:nrow(tfbs)){
s = tfbs[i,1]
e = tfbs[i,2]
seqTruncbp[s:e] <- 'F'
}
seqTrunc <- paste0(seqTruncbp,collapse = '')
return(seqTrunc)
} |
e19d47623b1d83a78ebce51649ee2bebf3ec2274 | 0bc7b27b4ecdf338211f763915e498afbd076f19 | /man/Cprop.test.Rd | 2ff0596cda502ab5028e7af4a412b6cd4edf578c | [] | no_license | cran/RcmdrPlugin.TeachStat | f42fd6b05a5e351d3f77e7204daabeae93bc93f1 | 702e87f2c3e6e7036a50d547f529f20ea915d369 | refs/heads/master | 2022-08-01T00:58:27.010966 | 2022-06-22T11:00:02 | 2022-06-22T11:00:02 | 162,720,733 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,526 | rd | Cprop.test.Rd | \name{Cprop.test}
\alias{Cprop.test}
\title{
Test for proportions of one or two samples
}
\description{
Performs hypothesis testing and confidence interval for a proportion or difference of two proportions. The values of the samples necessary to perform the function are the number of successes and the number of t... |
3afd57215cd09ef06057b45f76860e965bce4bce | d9ee4c89fa85ee69ee6d3a6f34035924fc7472e4 | /h2o-r/tests/testdir_docexamples/runit_Rdoc_deep_learning.R | 97fc1e2ba3d0c5e979a666b1e13f9c83ba5216f7 | [
"Apache-2.0"
] | permissive | mrgloom/h2o-3 | 838c298d257d893202e5cba8b55c84d6f5da1c57 | 3f00bf9e8e6aeb3f249301f20694076db15b7d5e | refs/heads/master | 2021-01-15T21:34:32.995372 | 2015-08-20T02:06:09 | 2015-08-20T05:52:14 | 41,108,114 | 1 | 0 | null | 2015-08-20T16:56:36 | 2015-08-20T16:56:34 | null | UTF-8 | R | false | false | 525 | r | runit_Rdoc_deep_learning.R |
setwd(normalizePath(dirname(R.utils::commandArgs(asValues=TRUE)$"f")))
source('../h2o-runit.R')
test.rdoc_deep_learning.golden <- function(H2Oserver) {
irisPath = system.file("extdata", "iris.csv", package = "h2o")
iris.hex = h2o.uploadFile(H2Oserver, path = irisPath)
indep <- names(iris.hex)[1:4]
dep <- names(iris.... |
4c09361808e633810c306be3148dba0ffabd486d | e7d14bdf98239f6684d822bb95a15c9eda66939a | /CelticSea/2020_CS_MixedFisheriesAdvice/report_06_Figure 6.4.25.3_advice_sheet_plots_2020.r | 1a5efe1842c7939c6d4a51d37badf976926a0772 | [] | no_license | ices-eg/wg_WGMIXFISH | 6e0dddafd9ca773db41bebd7bf32258b913060ff | 1b2c8bf211b3a936f9c8bce797cb62c36d314392 | refs/heads/master | 2022-10-07T21:06:57.031331 | 2021-09-18T09:57:01 | 2021-09-18T09:57:01 | 146,871,376 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,935 | r | report_06_Figure 6.4.25.3_advice_sheet_plots_2020.r | #################################################################################
################################## MIXFISH PLOTS ################################
#################################################################################
## Paul Dolder
## 28/05/2015
## Celtic Sea
## This script runs on the e... |
020663d8021b67c9219051f10a4cc44bff59451d | 98f3aca17ebba3cbdc340453fabd0c7a647f494c | /scripts/modeling/help_functions/preparation&cleaning_functions.R | 787a1e881bceec450202b14351f617838a1d4aa4 | [
"MIT"
] | permissive | junxiongliu/Santander-Value-Prediction-Challenge | de0b3dcf1b47aaa9f8c491b49d9636659f845983 | 452f69d8040f784b3c03163674780a1815b86305 | refs/heads/master | 2020-03-21T11:56:54.798741 | 2018-08-26T23:51:41 | 2018-08-26T23:51:41 | 138,529,813 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,694 | r | preparation&cleaning_functions.R | # Define needed functions here
##--------------------------------------------------------------------
## function to check "min=max" columns and get rid of such
noVariation_filter <- function(data){
# read in data and return data without invalid columns
data_out <- data[,!apply(data,2,function(x) min(x) == max(x))... |
d282a0a42fa89833781a67afa1bf1b68f87848f8 | 39a11c694363f6868317b74eecc1b61881327296 | /R/Methods-accessors.R | be714616f8b6c998ca63aed8cf951415813c7245 | [] | no_license | grimbough/IONiseR | ddc9b11fedb1f66aee1181aa4b26d738226fb32e | 47d8ab1e1d798f3591407be679076a1a5b5d9dd2 | refs/heads/master | 2021-01-21T02:11:22.317716 | 2020-09-21T15:33:30 | 2020-09-21T15:33:30 | 78,727,939 | 2 | 0 | null | 2017-01-12T09:18:45 | 2017-01-12T09:18:45 | null | UTF-8 | R | false | false | 2,719 | r | Methods-accessors.R | #' Extract readInfo slot
#'
#' This generic function accesses the readInfo slot stored in an object
#' derived from the Fast5Summary class.
#'
#' @param x Object of class \code{\linkS4class{Fast5Summary}}
#' @return A data.frame with 5 columns
#' @examples
#' if( require(minionSummaryData) ) {
#' data(s.typhi.rep... |
fbb04647253435fd16046e485caa36454f7d8168 | 91e6daaaa02d48a5cf6906e9087aa23765cbf06e | /man/IRACpm-package.Rd | 48292f7c6b22a428aba666fdbb726c8da5ed83ff | [] | no_license | esplint/IRACpm | b64d29690180a593d8d43f5b62feda27d7c24423 | 2899b29f46db1983e14a44c6f26731ce04e2e5eb | refs/heads/master | 2016-08-11T07:05:54.100352 | 2016-02-26T22:03:36 | 2016-02-26T22:03:36 | 46,518,471 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,790 | rd | IRACpm-package.Rd | \name{IRACpm-package}
\alias{IRACpm-package}
\alias{IRACpm}
\alias{CD1}
\alias{index1}
\alias{epochs3}
\alias{data1}
\docType{package}
\title{
Apply Distortion Correction to SPITZER IRAC Data
}
\description{
Applies a 7-8 order distortion correction to IRAC
astrometric data from the Spitzer Space Telescope and include... |
c896828d20335043fc0e42de85ad54d29211eba9 | 090111bc82f2086d1b108d7cda8071b9042c1c8a | /terrain/research/north-60/assess-flow.R | 11a3fbe0a375378d05898c460147eb1d0910f859 | [] | no_license | nemochina2008/environmental-layers | dbf06b1bc7f5077672843ed89c39f4f9b0781e0c | f3799e26c25704bee989aa830ba3b9270161cb3d | refs/heads/master | 2021-05-28T11:23:05.794919 | 2013-01-29T23:54:22 | 2013-01-29T23:54:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,320 | r | assess-flow.R | # R code to plot latitudinal profiles of (circular) mean flow direction,
# along with both RMSE and (circular) correlation coefficients comparing
# fused layers with both the raw ASTER and with the Canada DEM
#
# Jim Regetz
# NCEAS
library(raster)
library(circular)
datadir <- "/home/regetz/media/temp/terrain/flow"
#... |
bc28a8370a29f926c25c9cc85f2c002961dd1489 | 33945f7d8c8dc14d102638de7ec71d1e88413013 | /cal/rgl-plots.R | f9c14f20b39817458b2dae9dca90ad341d79a18c | [] | no_license | wactbprot/svol | 9c483a87969cc5eddec68e6c5be8a2b60bad0e9e | 57db9658fbd5b253bced0e7fa66471d79115364f | refs/heads/master | 2021-01-18T14:05:39.453305 | 2015-02-05T12:16:08 | 2015-02-05T12:16:08 | 29,733,995 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,102 | r | rgl-plots.R | library("rgl")
v2 <- read.table("data/ventil-kreis_2.txt"
, skip=2
, sep=" "
, row.names = NULL)
v1 <- read.table("data/ventil-kreis_1.txt"
, skip=2
, sep=" "
, row.names=NULL)
rgl.close()
rgl.open()
rgl.bg( sphere = FALSE
,... |
6ca36ac945eddbbb89cc24e554568f8edf5bd75f | 331ffa7fcacf86dcafcca4f921c91382313bd0e3 | /man/SDF.Rd | af85cee80d7e5d319c17cab1974be6c1db9c4bb2 | [] | no_license | wconstan/sapa | 5f5022a0dc09d207a4c6f6a1cbb79af9b5ddbdd5 | 501d67a72e5e25594d8cc169c2f1b7c49b68f86a | refs/heads/master | 2023-07-25T13:19:11.032775 | 2016-05-20T20:35:23 | 2016-05-20T20:35:23 | 58,663,742 | 0 | 2 | null | 2023-07-08T23:46:21 | 2016-05-12T17:46:29 | R | UTF-8 | R | false | false | 12,673 | rd | SDF.Rd | %% WARNING: This file was automatically generated from the associated
%% sapa_sdf.mid file. Do NOT edit this Rd file to make a change. Instead,
%% edit the sapa_sdf.mid file in the project MID directory. Once the
%% sapa_sdf.mid file has been updated, this Rd file, and all other
%% documentation (such as corre... |
edd8765b9283acfa41c4db40c829f8f3ec9ce135 | 8e46ecb5e85b4b7b197ad98a56a9c57f1b7aaf02 | /enrichment.R | c38e8a6d64aa236494ea301b2a51df44e264218a | [] | no_license | federicocozza/BioInformaticsGlioma | d6887fa90d02617cdd22acfbcb4df72bb3a65c90 | ded0018bc1eadd3e7401993b83adc4bf1b6318f4 | refs/heads/master | 2021-01-18T13:10:58.656789 | 2017-03-10T08:29:04 | 2017-03-10T08:29:04 | 80,731,441 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,454 | r | enrichment.R | library(GSA)
#gmtfile <- system.file("extdata", "msigdb.v5.2.entrez.gmt",package="clusterProfiler")
gmtfile <- system.file("extdata", "msigdb.v5.2.symbols.gmt",package="clusterProfiler")
c2kegg <- read.gmt(gmtfile)
#sum(gene %in% c2kegg$gene)
### Glioma - Gene
load("D:/R_workspace/BioInformaticsGlioma/paramList10.Rda... |
7a04967c4bd28e898e8666cc6a477e10a684547c | d97356ffe6e7494067ebdd3bad871a4c045f3627 | /Covest.R | f3c50bf10695deabcd345862fe4fd62e400ac3fd | [] | no_license | QingxiaCindyChen/2WayTimeVaryingSwitch | 325375ed9779f0a131a241ffb93476bc103b7b2f | 8aabbd74b8c7cc8ec25740ac35c7e9862a3b526a | refs/heads/main | 2023-04-07T02:49:02.586609 | 2021-04-19T19:23:55 | 2021-04-19T19:23:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,383 | r | Covest.R | Covest <- function(par, Umod, TDmod, TUmod, TGmod, SdatCount, Sdat, ID) {
# y0/y1/y2 are the jump time of h0/h1/h2 exclude censored
beta0 <- par$beta0vec; h0 <- par$h0; y0 <- par$timeD; nbeta0 <- par$nbeta0; n0 <- par$n0
beta1 <- par$beta1vec; h1 <- par$h1; y1 <- par$timeU; nbeta1 <- par$nbeta1; n1 <- par$... |
e256d9ce9c5ddeaee2a5ac90e15d31b60033b010 | 0a609864e2ea079f96ea9e53a73e12454f2d9667 | /check_mark.R | ec2cf6ca0fccfb569efc90c6f2ee3dcddc216f02 | [] | no_license | julia722/36-350-Fork | 9eec72906a032b44bbb4c728982f73507c66d1e9 | 0930792e59192e2978ee2b8ed81397a24ba0f614 | refs/heads/master | 2021-02-13T14:48:52.250893 | 2020-03-03T22:44:48 | 2020-03-03T22:44:48 | 244,705,758 | 0 | 0 | null | 2020-03-03T18:01:13 | 2020-03-03T18:01:13 | null | UTF-8 | R | false | false | 11 | r | check_mark.R | cat("---")
|
ebce23083ef800bbea56bfd7adf66f0dde8bf56a | ada662885ce76e3ea71abeef59fa2cf5281c2085 | /test1.R | 49d4413210c74474f029afc14c4dd8a61c6df16b | [] | no_license | SCMA632/rlatestnew-ShivRamaswamy | d2c7b83cedb9064fb241efae2b07903bf717126c | 2cfd4896811cc8c4f7e34bdb55d2cecf3465653d | refs/heads/main | 2023-08-22T07:13:59.307602 | 2021-10-24T02:46:51 | 2021-10-24T02:46:51 | 420,421,964 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 544 | r | test1.R | df = read.csv('4. NSSO68 data set.csv')
dim(df)
names(df)
summary(df)
library(psych)
unique(df$state)
meg = df[df$state_1 == 'MEG',]
# Data type of the subset data
class(meg)
any(is.na(meg))
# Shape of the Subset
dim(meg)
# To View the filtered data
#View(meg)
# Different columns
names(meg)
# Top 3 rows of the... |
386a78b896d3a17a37c6385024efdb73ccbf6fe9 | 366cf606c85cf5a47a2e6d96f5ed804b5f5af3a5 | /rprog031/tests/testthat/test_prog3.R | cf7c45b38dfaf3f9a649bf0c82013f65ce9803a9 | [] | no_license | Momus/R | ac532f88c673886c1c9da7ec9d8555bd7f9cce51 | 6207a5a4f4e2affe8a747ef3255226de54bd0f6c | refs/heads/master | 2021-01-19T07:57:56.966782 | 2017-09-16T23:56:47 | 2017-09-16T23:56:47 | 87,587,365 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,514 | r | test_prog3.R | library(rprog031)
context("Outcomes frame created from data")
outcome <- load_outcomes(outcome="pneumonia")
test_that("loads_outcomes loads proper file and creates data frame" , {
expect_equal(class(outcome), "data.frame")
})
context("Finding the best hospital in the state")
test_that("Best function exis... |
ea242c2ccf50e230569eefcd75d71a088b6edd70 | 7f026bc3deee32e4732c13cd318cb32119c7dd69 | /man/acf.Rd | 03e0aefe83807932f75c3cb434a95ac7cc22dfcf | [] | no_license | cran/TSA | 109803777566ded77104af3a01e288c749daa97b | 5050db06a645f31f2a37ac81a90fc5d2c590a25c | refs/heads/master | 2022-07-28T07:23:53.254418 | 2022-07-05T10:36:22 | 2022-07-05T10:36:22 | 17,693,886 | 1 | 8 | null | null | null | null | UTF-8 | R | false | false | 2,415 | rd | acf.Rd | \name{acf}
\alias{acf}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Auto- and Cross- Covariance and -Correlation Function Estimation}
\description{
This function calls the acf function in the stats package and processes to drop lag-0 of the acf. It only works for univariate time series, ... |
0161497abf80c86c28f561c6fb798ef8979282f9 | 76dee326d2906752e3205fe43a5698dec3602406 | /man/transform.Rd | 0b9610a3149006d7ae42b331bf8c33040de4b61c | [] | no_license | AmeliaMN/gigvis | d08e0e849087eb369e91cae3d99acb3b1849c7a9 | db816da20df1d2642f778608b7379a3252ba3d06 | refs/heads/master | 2021-01-18T11:11:38.098173 | 2013-07-26T16:54:59 | 2013-07-26T16:54:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 172 | rd | transform.Rd | \name{transform}
\alias{transform}
\title{S3 class: transform}
\usage{
transform(type, ...)
}
\description{
This is a type of \code{\link{pipe}}.
}
\keyword{internal}
|
a1941c8521a7ab80e703b8a38aaab4bcc2a42126 | c26ff8949728d2704f6b8c7166380973f9e41b50 | /W203 Week 4/async_material_Week4.R | 064db410ce5dc5f72c0f8f280128a095d6488852 | [] | no_license | jhabib/W203 | 7d8d7db35dc4e0b80077cb3ce6a53109ff425aff | 7814832ec95e51e7b53974568cf24f21b6da5910 | refs/heads/master | 2021-01-10T09:04:36.072682 | 2016-04-28T00:45:38 | 2016-04-28T00:45:38 | 50,896,079 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 722 | r | async_material_Week4.R | names <- c("coye", "paul", "andrew", "judd")
y <- c(9, 7, 6, 6)
data.frame(chef = names, score = y)
data.frame(chef = names, score = y) -> pr
pr
pr$chef
names(pr)
names(pr)[2] = "score1"
pr
pr$score2 <- c(3, 2, 1, 2)
pr$spiciness <- c(3, 2, 1, 2)
pr
attach(pr)
score1
score1 = score1 + 10
score1
pr$score1
... |
429b4b04c39c85308bdd9520b4875b0765940183 | 5a5f3be3124296d5b999c3d9667d79dfa9cc6550 | /Rcode/06_maps.R | 48c26ba409c569d978089430c909f2ec579a5679 | [] | no_license | flamontano/raptorMS | c51e9ef6aa38a5d1dd0557144a376fef68fdca60 | fb7be053ee72de14a502b96bfb7290bcf98ae19e | refs/heads/main | 2023-04-16T18:25:11.454399 | 2022-11-07T16:29:14 | 2022-11-07T16:29:14 | 560,494,156 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,832 | r | 06_maps.R | ## Plotting global patterns of observed and SES Functional and phylogenetic diversity of raptors ##
### OBSERVED VALUES ###
data_raptor.plots<-data_raptor[data_raptor$continent !="Antarctica",]
# grouping some values to improve contrast in visualization #
data_raptor.plots$mpd1<-data_raptor.plots$mpd
data_raptor.p... |
bcb6afb94c6fbd0fc6fbc2a80d99349a0bb08698 | f58d73bb5d624a78c329e79a60d5fb06b4c36837 | /inst/GRM/server.R | 13f16d6c94ae83fc7dcb65d5fee534386f0556b5 | [] | no_license | cran/irtDemo | be108fc0c36aa0328f1ed23b5d2c153ed3c0b701 | 3b36e362d74563f404374c8333f11cda023abc70 | refs/heads/master | 2020-04-06T07:01:12.326558 | 2018-04-05T19:29:46 | 2018-04-05T19:29:46 | 57,357,089 | 3 | 5 | null | null | null | null | UTF-8 | R | false | false | 1,129 | r | server.R | shinyServer(function(input, output){
output$grm_plot <- renderPlot({
D <- switch(input$D, "1" = 1, "2" = 1.702)
p <- matrix(NA,nrow=N,4)
for(j in 1:N){
#p[j,0] <- 0
p[j,1] <- Pfun(D=D, theta=thetas[j], delta=input$delta1, alpha=input$alpha)
p[j,2] <- Pfun(D=D, theta=theta... |
4add5cf28cc26b06a727179598105a7a38cf71f8 | a9c918bf7f1f77fe2aea48b9cd4ae5427a82df08 | /man/tables.Rd | 7643caeb1e843a64f3309ab57be8189601a6730d | [] | no_license | rje42/contingency | 05097da4f927323b7f770063a5b1b6ddf3667f53 | d1b4e65044d971cc9a3be1c1dfcad5d28540a998 | refs/heads/master | 2023-06-26T23:34:21.342576 | 2023-03-01T13:43:02 | 2023-03-01T13:43:02 | 66,774,467 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 286 | rd | tables.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/probMat.R
\name{tables}
\alias{tables}
\title{Create blank tables}
\usage{
tables(n, tdim)
}
\arguments{
\item{n}{number of tables}
\item{tdim}{dimension of each table}
}
\description{
Create blank tables
}
|
2347420bb67ba1592380b5281b41d75518a806cc | 2a7655dc0c233967a41b99369eed3eb4a6be3371 | /4-Merge_Data/Prediction_inputs/1-Format_data_sets.R | f8ad0887df51caa2703e9811816c0125ba01e3f7 | [
"MIT"
] | permissive | earthlab/Western_states_daily_PM2.5 | 0977b40d883842d7114139ef041e13a63e1f9210 | 3f5121cee6659f5f5a5c14b0d3baec7bf454d4bb | refs/heads/master | 2023-02-25T14:32:20.755570 | 2021-02-04T00:08:03 | 2021-02-04T00:08:03 | 117,896,754 | 2 | 1 | null | 2021-01-27T22:19:14 | 2018-01-17T21:48:29 | R | UTF-8 | R | false | false | 10,412 | r | 1-Format_data_sets.R | library(dplyr)
library(multidplyr)
library(lubridate)
library(stringr)
library(future.apply)
library(parallel)
library(stringr)
pred_locs<- read.csv("~/Data/West_prediction_locations.csv")
pred_locs$Lon<- round(pred_locs$Lon, 5)
pred_locs$Lat<- round(pred_locs$Lat, 5)
Locs<- unique(pred_locs[,c("Lon", "Lat")])
#Need t... |
b4afee6b360660265f9496861c35e4669a8b1439 | 3d41fbf1e8277ad6cf4e53ffe2acb9ef95059cf0 | /man/WGLP.Rd | 4809be46a4b5f4f5627f6cbc8f15aa747d2a78bc | [] | no_license | WenlongLi2020/MaximinDesign | fb51f8a4ec0791ede9e379755bd935b9ae1acdd1 | 20c88c0e7a46ec0f998b2b0a0df5cdba876a92e4 | refs/heads/main | 2023-02-08T18:27:06.424095 | 2020-12-21T08:00:00 | 2020-12-21T08:00:00 | 323,265,531 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,126 | rd | WGLP.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/WGLP.R
\name{WGLP}
\alias{WGLP}
\title{Williams Transformation}
\usage{
WGLP(s)
}
\arguments{
\item{s}{The run size of design B, where s is a prime.}
}
\value{
The return value is an LH(s,s-1) when s is a prime or LH(s, phi(s)) when s is not ... |
00fd89039feaef11d459d12f48b075fe3c2f92e4 | 76a60411ed849bc0366a5f69887629567875832d | /Resampling codes/q5.R | 3b3b99a4d6ec7129245f8d091749e24926c69a0b | [] | no_license | somak135/Resampling-codes | a7f3dd0054dd2e205c57f146bdda05561ffb05e6 | 008429b4dc692f31f92c87bbf1cc8fed238cb2ee | refs/heads/main | 2023-05-22T08:48:42.868581 | 2021-06-14T16:26:02 | 2021-06-14T16:26:02 | 374,428,808 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,576 | r | q5.R | ##### Defining global things
### define Z(t) as function of t
q = 4
n = 100 ## number of sample components
T = seq(1, 4, length = 10)
m = length(T) ##number of time points
Z = function(t) {
return(matrix(c(12-0.5*t^2, -2*t, log(3+1/t), exp(-t)), ncol = 1))
}
sigma_e = 0.05
### declare cutoff
eta = 20
### define... |
44808f701994c5f4249080de698d725eb0ed9bcf | 6f5711a306320d04f2ce8109880573065c710142 | /app.R | bc8253461221197d2cb762566abfd6452a51a2fc | [] | no_license | konradmiz/IntroNetworks | 5b45498062269fc8ad4a0fc72acde8ce9c3e503e | b4a12f79fa9873ba69c7f2970b287789c8ba1a5a | refs/heads/master | 2020-03-19T02:10:58.573746 | 2018-06-02T21:02:59 | 2018-06-02T21:02:59 | 135,606,642 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,626 | r | app.R | library(readr)
library(shiny)
library(shinythemes)
library(dplyr)
library(ggplot2)
library(visNetwork)
library(igraph)
hub_locations <- readRDS("Hub Locations.rds")
ui <- fluidPage(theme = shinytheme("flatly"),
#shinythemes::themeSelector(),
titlePanel("BikeTown Trips Network"),
#... |
3af0030a388e62f152523ca47ac43796063ddb99 | a148cf702f9d7263b8a44de40ac942b2696132b3 | /scripts/amerifluxFormatting.R | 78fa9f61c13f51d9a484fbf40bc2553d660d7306 | [] | no_license | USEPA/actonEC | 0374f1ed67e628f8516e16f7a7e249c195c237e7 | ceeab99bae03f9cdd5dcbd27865b43bfee9ecf07 | refs/heads/master | 2021-07-18T11:57:23.295626 | 2020-11-29T20:00:41 | 2020-11-29T20:00:41 | 242,174,208 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,240 | r | amerifluxFormatting.R |
#This script prepares a file in the format needed to submit to AmeriFlux
#before running, load the following data frames (you can use loadPrelimOutputs.R):
#epOutOrder, rbrTsub, campMet, vanni30min
#file.edit("scriptsAndRmd/loadPrelimOutputs.R")
USact<-mutate(epOutOrder,
RDateTime_START = RDateTime,
... |
9e253fe81c3f6faf1ad523cdcdbf44156b66646e | d0725763bf2a1a35a5ba91de5e1caf33cc49722e | /App Indices de Vulnerabilidad/Code/Mapa/Data Mapa.R | c1dbabc52f8578a77ccf93a77782dcc69de15f0d | [] | no_license | InstitutoInvestigacionesEconomicasPUCE/Indicadores_Vulnerabilidad | 8a1e9602c4b6a2b1dcad2cd5030147bf1bf92711 | 2a8f15d078d9d79f2d02a58d37ed75e402e135f3 | refs/heads/master | 2020-06-03T15:50:13.051515 | 2019-06-12T20:36:05 | 2019-06-12T20:36:05 | 191,637,254 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,899 | r | Data Mapa.R |
# DATOS Mapa CANTONAL ===========================
BDDMapReact = reactive({
periodos = c(2005,as.numeric(input$periodos),2019)
pd = as.numeric(input$producto)
BDDMap = data.frame()
for(i in 1:length(IPC_canton)){
Fechas_aux = IPC_canton[[i]][,1] #Corregir
# IPC_val_aux = IPC_canton[[i]][,pd+1]
... |
ee001531d3ccb1bd801894f51d42759c9bd9a141 | 3da7397a406e5e788d08e2f9ca2b4b4b41be22ed | /R-code/pkg/R/RcppExports.R | d50ce977beb71830e707d382345c536715eabf1c | [
"MIT"
] | permissive | ZhihaoMa/bartik-weight | f44a931ba1e44a968f81ed421392460107f05ba6 | 722ceb85484d6a2bf77985edf2403515eacd1770 | refs/heads/master | 2020-12-26T20:08:04.509430 | 2019-12-13T14:50:17 | 2019-12-13T14:50:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 254 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
ComputeAlphaBeta <- function(y, x, WW, weight, Z, G) {
.Call(`_bartik_weight_ComputeAlphaBeta`, y, x, WW, weight, Z, G)
}
|
ca71a310c0e48a499370e8a1bd15384233b51403 | 845a4db68eebe70d5c204fbad2dd27cabf1908df | /doc/elastic-net.R | 0dfc251cdcc04947335d55f7013b4b634e59ae86 | [] | no_license | jashu/beset | 6b1a6d8340b887a3628d0db6563bcdf53b4c709c | 703e4e7da70185d279c4a60e76207ff2dae91103 | refs/heads/master | 2023-05-03T20:22:00.304497 | 2023-04-18T18:23:26 | 2023-04-18T18:23:26 | 49,987,418 | 6 | 0 | null | 2021-04-13T11:36:35 | 2016-01-19T22:24:12 | R | UTF-8 | R | false | false | 2,498 | r | elastic-net.R | ## ---- echo = FALSE, message = FALSE-------------------------------------------
library(beset)
suppressPackageStartupMessages(library(tidyverse))
## -----------------------------------------------------------------------------
set.seed(42)
data <- cbind(swiss, matrix(replicate(5, rnorm(nrow(swiss))), ncol = 5))
names... |
15ad3288eac044b62c8ca1674699eefeae3791ed | 404f40e474f1389d8c927371b50464cd65539ef9 | /man/construct.Rd | ce279df50751ee895c0c69b121113899fb05c9f5 | [] | no_license | mafuguo/wiotrs | 097447f82fb693b4c6898b90865c8ef0df32e043 | fc886aaed07bc52c4a16cbe6f54cd1ad6c46a824 | refs/heads/master | 2020-04-02T18:19:51.919574 | 2018-10-22T06:29:04 | 2018-10-22T06:29:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 534 | rd | construct.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/construct.R
\name{construct}
\alias{construct}
\title{Construct technical matrices}
\usage{
construct()
}
\value{
WIOT A list containig input-output table and other parameters. Function adds/updates
Leontieff Inverse L, technical coefficien... |
437ed3994b513f0b5f10f4f8033b113acc3b434b | 1ce825976064853b64fad4a1597b608a3fc7e831 | /tests/1.R | 411f5abf600b1c2ef5db72c13c94180ab11c9743 | [] | no_license | avastermark19/doseLM | a91cc0742965b6ce6551adfe4f9c430fc8dd9818 | 30afa3e8bf226e233bc2aa4d2532d3acbaa723fb | refs/heads/master | 2020-04-30T03:12:30.093953 | 2019-03-20T19:27:59 | 2019-03-20T19:27:59 | 176,581,422 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 112 | r | 1.R | library(doseLM)
library(edgeR)
se <- simData(FA=100)
RUnit::checkEqualsNumeric(dim(se)[1]*dim(se)[2], 8000)
|
cb72b4af5dce8d0d1292ea5543292a2780bd5f6a | 6ba6652d631677e7288ef8ed58803dcee107a6dc | /format_REST_data.R | 96a713e81888b90a627c6b08b70ecf907fce58cb | [] | no_license | galielle/RS-fMRI-of-Reading | 242ce36584559ede12a1ad7c5ec5ae0629be3e5d | ef0988c769a4e47eeb26c5349fd61a9a0cbbfadc | refs/heads/master | 2020-04-09T05:42:16.474035 | 2018-12-06T14:23:55 | 2018-12-06T14:23:55 | 160,075,551 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,601 | r | format_REST_data.R | require(utils);
require(plyr);
library(lmerTest);
library(car);
require(data.table)
require(psych)
require(gdata)
### lists and data
area_id_list <- as.character(c('14','15','16','17','18','19','20','21','22','39','40','41','43','44','45','46','47','48','49','50','51','52',
'53','5... |
012133caa50571f219afa601eeec08e469f4b086 | 377220a5b50eb158efab006356d2d9703937ac44 | /man/plot_elements.Rd | 752a7496840b32c1af4e62e1a08a164789afb08a | [] | no_license | flinder/flindR | 56b545d920631aa9e12fbb99d3079fd962614991 | b628b84a1cf859c9bd03945ae4c797e6ddcbc799 | refs/heads/master | 2020-06-10T21:41:51.122412 | 2018-09-17T18:24:28 | 2018-09-17T18:24:28 | 75,864,713 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 243 | rd | plot_elements.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_elements.R
\name{plot_elements}
\alias{plot_elements}
\title{Get different plot elements}
\usage{
plot_elements()
}
\description{
Get different plot elements
}
|
659fc76b906dd4be49766434d6c85e734a32ea87 | c1968efd0edc2e4f26ac855a9e3259d537856d1b | /man/IRFinder.Rd | 40891b8c7f8fb907c1a65430b52fee7bc0166e13 | [
"MIT"
] | permissive | alexw-gsct/NxtIRF | 386abb430d236e2034d7e77d0843ec171a1f578d | dd1ed9e4a2075459f2855155340ed942698db412 | refs/heads/master | 2023-03-14T08:41:35.849645 | 2021-03-04T01:24:47 | 2021-03-04T01:24:47 | 292,820,854 | 0 | 0 | NOASSERTION | 2021-03-04T01:24:48 | 2020-09-04T10:35:49 | R | UTF-8 | R | false | true | 2,506 | rd | IRFinder.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CollateData.R
\name{IRFinder}
\alias{IRFinder}
\title{A wrapper function to call NxtIRF/IRFinder}
\usage{
IRFinder(
bamfiles = "Unsorted.bam",
sample_names = "sample1",
reference_path = "./Reference",
output_path = "./IRFinder_Output"... |
367b076e0eddd54d819af1102fe11caa610a2d51 | 2e1794af130eb9c326e4936c39576117a4a0ef40 | /Estatistica e Probabilidade/Lista de exercicios/Ex1.r | 8f938893f736ade6fba9de70ea49f24bace5b2bd | [] | no_license | NayrozD/Universidade | b8701a7e690c72436fffed6756ed3c9a2d051b1e | 6eceb95eeb1104c920c2deda5f41986aae263cb0 | refs/heads/master | 2022-01-08T07:03:57.270521 | 2018-05-16T18:20:10 | 2018-05-16T18:20:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 433 | r | Ex1.r | <<<<<<< HEAD
#1. Crie uma sequencia de numeros de 1 a 90, de duas em duas unidades, utilizando a função seq do R. Armazene em uma variavel qualquer;
#seq(de, ate, x(de x em x)
a = seq(1,90,2)
=======
#1. Crie uma sequencia de numeros de 1 a 90, de duas em duas unidades, utilizando a função seq do R. Armazene em uma var... |
3e0f2bb1ac3d42beb1ad332ec4976a6e09f4e786 | 436570c53fbf34dd2ac73282b4b3cf558c214d3e | /ds/df3.R | 91f2333b802944febb51abbc3ed380096b1d3fe1 | [] | no_license | dupadhyaya/dspgmsc2017 | 4ce6debe7f87a4ac20da98cb3cf049c6c60335c5 | e6062aa49fd0e10466830c6c03511823aa42e5ca | refs/heads/master | 2021-01-22T16:53:35.407476 | 2018-05-23T04:09:50 | 2018-05-23T04:09:50 | 100,725,221 | 9 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,514 | r | df3.R | # Data Frame 3
#Properties
#sdata
rollno = c(10,11,12,13)
name = c('Achal','Apoorva','Goldie','Hitesh')
gender = c('M','F','M','M')
sdata = data.frame(rollno, name, gender)
sdata
#Change Row and Colnmames
colnames(sdata) = c("rollno1", "name1", "gender1")
colnames(sdata)
rownames(sdata) = c("ID1", "ID2", "ID3", "ID4"... |
e2a55a150f0b88f6b103f2f86d1fc89f9f565dfb | 12248769773269e24daa3795b7d4589f72c88907 | /WK5 -3.R | a5e87a04cc7867ac9b3012529fcf3507e0ecf533 | [] | no_license | sonali4794/R-Code | 23c5d73583d76a3d142f5ac454aad9056c7ecf22 | 7ab9d7fcec77650ac0f3268994da2b82cded197e | refs/heads/main | 2023-07-11T19:21:47.466691 | 2021-08-16T15:56:55 | 2021-08-16T15:56:55 | 389,376,006 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 403 | r | WK5 -3.R | library("tidyverse")
library("dplyr")
library("mosaic")
set = c(12, 18,15,8,17,13,22,13,13,13,12,11,15,15,12,8,20,12,14,11,9,15,16,20,9,15,13,19,18,14)
s = sum(set)
size = length(set)
a = s/size
SE = sqrt(a/size)
LN = a - 1.96*SE
UN = a + 1.96*SE
LN
UN
poissonsample = rpois(30, a)
boot = do(1000)*{
... |
4af8e9f94ecd8fa1a90e060ed3efbe08ac9c3c3d | b2664f3ae4301fe5770b0e85001b89486d62e2fc | /plot4.R | d62e10d5f958f7dc8559383c68507f11143f469c | [] | no_license | CSoaresF/ExData_Plotting1 | 2faa76a8034494a7bcf013d7a35e84b02a5c7e65 | 973a16954b4bcfe3f7e6b3282ed0141d003e51fd | refs/heads/master | 2021-01-15T12:10:18.173155 | 2015-12-14T00:14:13 | 2015-12-14T00:14:13 | 43,750,875 | 0 | 0 | null | 2015-10-06T13:01:43 | 2015-10-06T13:01:43 | null | UTF-8 | R | false | false | 2,055 | r | plot4.R | # plot4.R
# set folder of project
setwd("C:/EDA_PROJECT1")
# if file not exist, download and unzip in subfolder "/data"
if(!file.exists("data/household_power_consumption.txt")) {
url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(url, destfile="data.zip"... |
9b8e0496a2d1cfb6874d3d3420b88e685c8aae1b | 8f0d122d166d74b9e2d0d92896891af4d7c1d8ca | /R/fpl.R | 09b409689f5ccf314550d850036cf9b4d9b95b1b | [] | no_license | cran/richards | 22dd6bf22c97c3efa168332a41e69ec3f81ba075 | 32f323299ab88c879f96d0906747adf98cdbca34 | refs/heads/master | 2016-08-08T00:40:13.342386 | 2009-03-31T00:00:00 | 2009-03-31T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 86 | r | fpl.R | `fpl` <-
function (x, a = 0.1, d = 2.4, e = 100, b = 1)
d + (a - d)/(1 + (x/e)^b)
|
56269f284db1efd93f2b062da8414af097898da6 | 9984ac7ab4d7531e374983c18b2e0341894f371a | /man/simplify_immgen_celltype.Rd | f7d34f7c48d68ca9b64448d182fb96c906d871a7 | [
"MIT"
] | permissive | ddiez/celltype | 38c3d75a99a822320d66ae0a9bf11243687b7eef | 678c184a2c5ae8c3bbe605db37a9eb9053c9b6e6 | refs/heads/master | 2021-08-17T04:22:18.294013 | 2020-04-30T02:49:39 | 2020-04-30T02:49:39 | 172,221,916 | 2 | 1 | NOASSERTION | 2019-05-24T12:27:59 | 2019-02-23T14:12:08 | R | UTF-8 | R | false | true | 511 | rd | simplify_immgen_celltype.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/predict.R
\name{simplify_immgen_celltype}
\alias{simplify_immgen_celltype}
\alias{simplify_immgen_celltype.character}
\title{simplify_immgen_celltype}
\usage{
simplify_immgen_celltype(x)
\method{simplify_immgen_celltype}{character}(x)
}
\arg... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.